Skip to content

Commit 82b1fc0

Browse files
authored
fix(script): remove output from inside script (#14)
GH_OUTPUT is for CI and it does not exist when running on circle ci, causing it to crash.
1 parent 333374a commit 82b1fc0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
id: gigid
5151
run: |
5252
export FAKE_VALID_TOKEN=fake-valid-token
53-
bash src/scripts/upload.sh
53+
bash src/scripts/upload.sh >> "$GITHUB_OUTPUT"
5454
env:
5555
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
5656
TOKEN: FAKE_VALID_TOKEN

src/scripts/upload.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ curl -X POST \
2121

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

0 commit comments

Comments
 (0)