1- name : main
1+ name : build
22on : [push, pull_request]
33
44jobs :
@@ -35,11 +35,10 @@ jobs:
3535 if : ${{ matrix.os == 'macos-latest-xlarge' }}
3636 run : curl -fL https://github.com/VirtusLab/coursier-m1/releases/latest/download/cs-aarch64-apple-darwin.gz | gzip -d > cs && chmod +x cs && (xattr -d com.apple.quarantine cs || true) && ./cs setup -y && echo "~/Library/Application Support/Coursier/bin" >> $GITHUB_PATH
3737 - run : sbt test graalvm-native-image:packageBin
38- - run : cp modules/cli/target/graalvm-native-image/tfr tfr-${{ runner.os }}-${{ runner.arch }}
3938 - uses : actions/upload-artifact@v4
4039 with :
4140 name : tfr-${{ runner.os }}-${{ runner.arch }}
42- path : tfr-${{ runner.os }}-${{ runner.arch }}
41+ path : modules/cli/target/graalvm-native-image/tfr
4342 retention-days : 1
4443 release :
4544 name : Release
@@ -52,13 +51,13 @@ jobs:
5251 echo ${GITHUB_REF/refs\/tags\//}
5352 echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}
5453 - uses : actions/download-artifact@v4
55- - run : zip -j tfr-Linux-X64-${{ steps.get_version.outputs.version }}.zip tfr-Linux-X64
56- - run : zip -j tfr-macOs -X64-${{ steps.get_version.outputs.version }}.zip tfr-macOs -X64
57- - run : zip -j tfr-macOs -ARM64-${{ steps.get_version.outputs.version }}.zip tfr-macOs -ARM64
54+ - run : zip -j tfr-Linux-X64-${{ steps.get_version.outputs.version }}.zip tfr-Linux-X64/tfr
55+ - run : zip -j tfr-macOS -X64-${{ steps.get_version.outputs.version }}.zip tfr-macOS -X64/tfr
56+ - run : zip -j tfr-macOS -ARM64-${{ steps.get_version.outputs.version }}.zip tfr-macOS -ARM64/tfr
5857 - id : upload-release-assets
5958 uses : softprops/action-gh-release@v1
6059 with :
6160 files : |
6261 tfr-Linux-X64-${{ steps.get_version.outputs.version }}.zip
63- tfr-macOs -X64-${{ steps.get_version.outputs.version }}.zip
64- tfr-macOs -ARM64-${{ steps.get_version.outputs.version }}.zip
62+ tfr-macOS -X64-${{ steps.get_version.outputs.version }}.zip
63+ tfr-macOS -ARM64-${{ steps.get_version.outputs.version }}.zip
0 commit comments