Skip to content

Commit

Permalink
Include non-combined binaries in releases
Browse files Browse the repository at this point in the history
This allows users who want smaller binaries to have them.
  • Loading branch information
JasonGross committed May 9, 2024
1 parent 4986ba9 commit 64b3555
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/coq-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,12 @@ jobs:
etc/ci/test-run-fiat-crypto.sh dist/fiat_crypto
publish-standalone:
strategy:
fail-fast: false
matrix:
arch: ['', '-x86_64', '-arm64']
runs-on: ubuntu-latest
needs: combine-standalone
needs: [build, combine-standalone]
permissions:
contents: write # IMPORTANT: mandatory for making GitHub Releases
steps:
Expand All @@ -192,7 +196,7 @@ jobs:
- name: Download standalone MacOS
uses: actions/download-artifact@v3
with:
name: standalone-macos
name: standalone-macos${{ matrix.arch }}
path: dist/
- name: List files
run: find dist
Expand All @@ -204,7 +208,7 @@ jobs:
echo "$fname"
mv dist/fiat_crypto "dist/$fname"
find dist
- name: Upload artifacts to GitHub Release
- name: Upload macOS-${{ matrix.arch }} artifacts to GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
# Upload to GitHub Release using the `gh` CLI.
Expand Down

0 comments on commit 64b3555

Please sign in to comment.