Skip to content

Commit

Permalink
fixes (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
evandcoleman authored Sep 30, 2024
1 parent bd19b8b commit db36319
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,20 @@ jobs:
run: |
artifact_name="Firebase.zip"
echo "Downloading artifact from $REPO version $VERSION"
echo "Getting release ID for $REPO version $VERSION"
# Get the release ID for the specific version
release_id=$(gh api repos/$REPO/releases/tags/$VERSION --jq '.id')
echo "Release ID: $release_id"
echo "Getting release notes for $REPO version $VERSION"
# Get release notes
release_notes=$(gh release view $release_id --repo $REPO --json body | jq -r '.body')
echo "::set-output name=release_notes::${release_notes}"
echo "Downloading artifact from $REPO version $VERSION"
# Download the release artifact for that release ID
gh release download $release_id --repo $REPO --pattern $artifact_name --dir ./
env:
Expand Down

0 comments on commit db36319

Please sign in to comment.