From 1bd279c9471aa220c9b6f2f9240d11ea9eaeb03f Mon Sep 17 00:00:00 2001 From: nikola Date: Mon, 19 Aug 2024 17:43:27 +0300 Subject: [PATCH] add macos binaries --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50d63e77..ebf52380 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,12 +51,20 @@ jobs: - name: Rename binaries run: | echo "Renaming binaries to include architecture" + if [ matrix.os == 'ubuntu-22.04' ]; then mv /tmp/stone-prover/build/bazelbin/src/starkware/main/cpu/cpu_air_prover ./cpu_air_prover-linux-${TARGET_ARCH} mv /tmp/stone-prover/build/bazelbin/src/starkware/main/cpu/cpu_air_verifier ./cpu_air_verifier-linux-${TARGET_ARCH} - if [ matrix.os == 'ubuntu-22.04' ]; then mv /tmp/stone-prover/stone-prover.deb /tmp/stone-prover/stone-prover-linux-${TARGET_ARCH}.deb + else + mv /tmp/stone-prover/build/bazelbin/src/starkware/main/cpu/cpu_air_prover ./cpu_air_prover-macos-${TARGET_ARCH} + mv /tmp/stone-prover/build/bazelbin/src/starkware/main/cpu/cpu_air_verifier ./cpu_air_verifier-macos-${TARGET_ARCH} fi + - name: Verify file existence#2 + run: | + ls -la ./ + ls -la /tmp/stone-prover/ + - name: Upload files to a GitHub release uses: softprops/action-gh-release@v2 with: