Skip to content

Commit

Permalink
fix(script): remove output from inside script (#14)
Browse files Browse the repository at this point in the history
GH_OUTPUT is for CI and it does not exist when running on circle ci, causing it to crash.
  • Loading branch information
lecrepont01 authored Aug 29, 2024
1 parent 333374a commit 82b1fc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
id: gigid
run: |
export FAKE_VALID_TOKEN=fake-valid-token
bash src/scripts/upload.sh
bash src/scripts/upload.sh >> "$GITHUB_OUTPUT"
env:
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
TOKEN: FAKE_VALID_TOKEN
Expand Down
3 changes: 2 additions & 1 deletion src/scripts/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ curl -X POST \

GIGID=$(cat result.json | jq -r .gigid)
echo "::notice title=CI Issues report::CI_ISSUE_GIGID=$GIGID"
echo "CI_ISSUE_GIGID=$GIGID" >> "$GITHUB_OUTPUT"

echo "CI_ISSUE_GIGID=$GIGID"

0 comments on commit 82b1fc0

Please sign in to comment.