Skip to content

Commit

Permalink
fix: add missing env variable to be able to use gh cli
Browse files Browse the repository at this point in the history
  • Loading branch information
luislard committed Aug 31, 2023
1 parent fc3dce6 commit f6d9bea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-and-push-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ on:
GITHUB_USER_EMAIL:
description: Email address for the GitHub user configuration.
required: true
GITHUB_TOKEN:
description: The token to be used to interact with GH Cli.
required: true
GITHUB_USER_NAME:
description: Username for the GitHub user configuration.
required: true
Expand Down Expand Up @@ -225,6 +228,8 @@ jobs:
- name: Move tag
if: ${{ github.ref_type == 'tag' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "Preparation: Getting owner and repo name"
echo "owner_repo=$(gh repo view --json url,owner,name --template '{{.owner.login}}/{{.name}}')" >> $GITHUB_ENV
Expand Down

0 comments on commit f6d9bea

Please sign in to comment.