From bb864714b9f9419de185304c46e27839b9f03fbb Mon Sep 17 00:00:00 2001 From: lonerapier Date: Mon, 4 Nov 2024 23:01:10 +0530 Subject: [PATCH] change build name --- .github/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f68e115..ffcc874 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -40,9 +40,9 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - # Fetch the latest successful run of the build-circuits workflow on main + # Fetch the latest successful run of the build-artifacts workflow on main response=$(gh api -X GET /repos/${{ github.repository }}/actions/workflows/artifacts.yaml/runs \ - -f status=success -q '.workflow_runs | map(select(.name == "build-circuits")) | .[0].id') + -f status=success -q '.workflow_runs | map(select(.name == "build-artifacts")) | .[0].id') echo "run_id=${response}" >> $GITHUB_ENV - name: Download Build Artifacts @@ -58,7 +58,7 @@ jobs: echo "Automated release of compiled Circom circuits" > release_notes.md echo "Version: ${{ env.VERSION }}" >> release_notes.md echo "Commit: ${{ github.sha }}" >> release_notes.md - echo "\nArtifacts included:" >> release_notes.md + echo "Artifacts included:" >> release_notes.md for zip in artifacts/circom-artifacts-*-v${{ env.VERSION }}.zip; do basename "$zip" >> release_notes.md done