From 64b3555331f83b3468f12221d3c1d87a2cc5e12b Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Thu, 9 May 2024 14:40:43 -0700 Subject: [PATCH] Include non-combined binaries in releases This allows users who want smaller binaries to have them. --- .github/workflows/coq-macos.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coq-macos.yml b/.github/workflows/coq-macos.yml index f87279a35d0..cdc9f39f544 100644 --- a/.github/workflows/coq-macos.yml +++ b/.github/workflows/coq-macos.yml @@ -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: @@ -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 @@ -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.