Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BFergerson authored Oct 14, 2024
1 parent 56f191b commit 2d03d5e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.PRIVATE_REPO_TOKEN }}

- name: Fetch Latest Release Tag
id: get_latest_release
run: echo "::set-output name=LATEST_RELEASE::$(gh release list --repo voqal/browser-dev --limit 1 --json tagName --jq '.[0].tagName')"
run: |
LATEST_RELEASE=$(gh release list --repo voqal/browser-dev --limit 1 --json tagName --jq '.[0].tagName')
echo "LATEST_RELEASE=$LATEST_RELEASE" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.PRIVATE_REPO_TOKEN }}

- name: Fetch Latest Release Asset
run: gh release download --repo voqal/browser-dev ${{ steps.get_latest_release.outputs.LATEST_RELEASE }}
run: gh release download --repo voqal/browser-dev ${{ env.LATEST_RELEASE }}
env:
GITHUB_TOKEN: ${{ secrets.PRIVATE_REPO_TOKEN }}

Expand Down

0 comments on commit 2d03d5e

Please sign in to comment.