Skip to content

Commit

Permalink
fix: get GH_TOKEN to report using conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
yankeeinlondon committed Oct 31, 2022
1 parent f2cb9b2 commit b131672
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ jobs:
if: ${{ inputs.metrics }}

steps:
- name: ENV vars
- name: Github Token
if: ${{ env.GH_TOKEN != "" }}
run: |
echo "::notice:: GH_TOKEN and VITE_GH_TOKEN are ${{ env.GH_TOKEN == '' ? 'not ' : ''}}available."
echo "::notice:: GH_TOKEN and VITE_GH_TOKEN are available for testing."
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
Expand Down

0 comments on commit b131672

Please sign in to comment.