Skip to content

Commit

Permalink
fix: artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Skylar Simoncelli committed Sep 30, 2024
1 parent af75497 commit fcea94b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/actions/release/create-draft-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ runs:
name: partner-chains-node-linux-artifact
path: artifact-linux/

- name: Download partner-chains-node-macos-x86_64-artifact
- name: Download partner-chains-cli-macos-x86_64-artifact
uses: actions/download-artifact@v4
with:
name: partner-chains-node-macos-x86_64-artifact
name: partner-chains-cli-macos-x86_64-artifact
path: artifact-macos-x86_64/

- name: Download partner-chains-node-macos-x86_64-artifact
Expand All @@ -45,10 +45,10 @@ runs:
name: partner-chains-node-macos-x86_64-artifact
path: artifact-macos-x86_64/

- name: Download partner-chains-node-macos-arm64-artifact
- name: Download partner-chains-cli-macos-arm64-artifact
uses: actions/download-artifact@v4
with:
name: partner-chains-node-macos-arm64-artifact
name: partner-chains-cli-macos-arm64-artifact
path: artifact-macos-arm64/

- name: Download partner-chains-node-macos-arm64-artifact
Expand All @@ -61,8 +61,8 @@ runs:
id: check_release
run: |
tag="${{ inputs.tag }}"
release_response=$(curl -s -H "Authorization: token ${{ env.GITHUB_TOKEN }}" \
"https://api.github.com/repos/${{ github.repository }}/releases/tags/$tag")
release_response=$(curl -s -H "Authorization: token ${{ env.GITHUB_TOKEN }}" "https://api.github.com/repos/${{ github.repository }}/releases/tags/$tag")
if echo "$release_response" | grep -q '"message": "Not Found"'; then
echo "release_exists=false" >> $GITHUB_ENV
echo "::set-output name=release_exists::false"
Expand Down

0 comments on commit fcea94b

Please sign in to comment.