This repository was archived by the owner on Jun 10, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 steps :
2323 - uses : actions/checkout@v6
2424
25- - name : Set architecture
25+ - name : Set env
2626 run : |
27+ echo "QUANTLIB_VERSION=$(cat quantlib-version)" >> $GITHUB_ENV
2728 if [ "${{ matrix.os }}" = 'ubuntu-24.04' ]; then
2829 echo "ARCH=amd64" >> $GITHUB_ENV
2930 elif [ "${{ matrix.os }}" = 'ubuntu-24.04-arm' ]; then
@@ -46,12 +47,21 @@ jobs:
4647 - name : Copy files
4748 run : |
4849 mkdir -p artifacts
49- version="$(cat quantlib-version)"
50- cp "output/build/quantlib-$version.jar" "artifacts/${{ env.ARCH }}-quantlib-$version.jar"
51- cp "output/build/quantlib-$version.pom" "artifacts/${{ env.ARCH }}-quantlib-$version.pom"
50+ cp "output/build/quantlib-${{ env.QUANTLIB_VERSION }}.jar" "artifacts/${{ env.ARCH }}-quantlib-${{ env.QUANTLIB_VERSION }}.jar"
51+ cp "output/build/quantlib-${{ env.QUANTLIB_VERSION }}.pom" "artifacts/${{ env.ARCH }}-quantlib-${{ env.QUANTLIB_VERSION }}.pom"
5252
53- - name : List files
54- run : find ./artifacts -type f
53+ - name : Attest files
54+ uses : actions/attest@v4
55+ with :
56+ subject-path : ' artifacts/*'
57+
58+ - name : Upload files
59+ uses : actions/upload-artifact@v6
60+ with :
61+ name : ${{ env.ARCH }}-quantlib-${{ env.QUANTLIB_VERSION }}
62+ path : artifacts/
63+ if-no-files-found : error
64+ retention-days : 2
5565
5666 # TODO - draft release
5767 # - name: Draft release
You can’t perform that action at this time.
0 commit comments