File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed
Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change 88 workflow_dispatch :
99
1010jobs :
11- # pre-build:
12- # runs-on: ubuntu-latest
13- # steps:
14- # - uses: actions/checkout@v4
15- # - name: Get native library version from Maven project
16- # shell: bash
17- # run: |
18- # NATIVE_LIB_VERSION=$(mvn help:evaluate -Dexpression=natives.lib.version -q -DforceStdout)
19- # echo "NATIVE_LIB_VERSION=$NATIVE_LIB_VERSION" >> GITHUB_OUTPUT
11+ pre-build :
12+ runs-on : ubuntu-latest
13+ outputs :
14+ natives-lib-version : ${{ steps.get-natives-lib-version.outputs.natives-lib-version }}
15+ steps :
16+ - uses : actions/checkout@v4
17+ - name : Get natives library version from Maven project
18+ id : get-natives-lib-version
19+ shell : bash
20+ run : |
21+ echo "natives-lib-version=$(mvn help:evaluate -Dexpression=natives.lib.version -q -DforceStdout)" >> GITHUB_OUTPUT
2022
21- build-native :
22- # needs: [ pre-build ]
23+ build-natives :
24+ needs : [ pre-build ]
2325 uses : atraplet/clarabel4j-native/.github/workflows/build_natives.yml@feature/add_native_build
2426 with :
25- native -lib-version : 0.10.0
27+ natives -lib-version : ${{needs.pre-build.outputs.natives-lib-version}}
2628
2729 build :
2830 runs-on : ubuntu-latest
29- needs : [ build-native ]
31+ needs : [ build-natives ]
3032 steps :
3133 - uses : actions/checkout@v4
3234 - name : Download libraries
You can’t perform that action at this time.
0 commit comments