Skip to content

Commit

Permalink
Add github token to gh cli command
Browse files Browse the repository at this point in the history
  • Loading branch information
gharveymn committed Dec 11, 2023
1 parent e317de6 commit 2528085
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/update-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
steps:
- name: Get the latest release tag name
if: env.version == ''
env:
GH_TOKEN: ${{ github.token }}
run: echo "version=$(gh release view --repo rust-lang/rust --json tagName --jq '.tagName')" >> "$GITHUB_ENV"

- uses: actions/checkout@v4
Expand Down

0 comments on commit 2528085

Please sign in to comment.