mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-19 19:25:53 +00:00
chore: Revert workflow names (#1890)
This commit is contained in:
2
.github/actions/build_clio/action.yml
vendored
2
.github/actions/build_clio/action.yml
vendored
@@ -15,7 +15,7 @@ runs:
|
||||
uses: ./.github/actions/get_number_of_threads
|
||||
id: number_of_threads
|
||||
with:
|
||||
substract_threads: inputs.substract_threads
|
||||
substract_threads: ${{ inputs.substract_threads }}
|
||||
|
||||
- name: Build Clio
|
||||
shell: bash
|
||||
|
||||
2
.github/actions/generate/action.yml
vendored
2
.github/actions/generate/action.yml
vendored
@@ -57,4 +57,4 @@ runs:
|
||||
'' }}
|
||||
run: |
|
||||
cd build
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE:FILEPATH=build/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} ${SANITIZER_OPTION} .. -G Ninja
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE:FILEPATH=build/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" ${SANITIZER_OPTION} .. -G Ninja
|
||||
|
||||
@@ -27,9 +27,8 @@ runs:
|
||||
- name: Shift and export number of threads
|
||||
id: number_of_threads_export
|
||||
shell: bash
|
||||
env:
|
||||
NUM_OF_THREADS: steps.mac_threads.outputs.num || steps.linux_threads.outputs.num
|
||||
SHIFT_BY: inputs.substract_threads
|
||||
run: |
|
||||
shifted=$((NUM_OF_THREADS - SHIFT_BY))
|
||||
num_of_threads=${{ steps.mac_threads.outputs.num || steps.linux_threads.outputs.num }}
|
||||
shift_by=${{ inputs.substract_threads }}
|
||||
shifted=$((num_of_threads - shift_by))
|
||||
echo "num=$(( shifted > 1 ? shifted : 1 ))" >> $GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user