Skip to content

Commit

Permalink
set job output
Browse files Browse the repository at this point in the history
  • Loading branch information
yhtang committed Sep 6, 2023
1 parent 58f4b47 commit 59b3d7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_sandbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
cat "$f" | jq -r '.summary' | tee -a $GITHUB_STEP_SUMMARY
done
publish-badge:
upload-badge:
needs: [run-jobs]
uses: ./.github/workflows/_publish_badge_v2.yaml
uses: ./.github/workflows/_upload_badge.yaml
if: always()
secrets: inherit
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ on:
outputs:
GIST_ID:
description: 'Id of the GitHub Gist that hosts all endpoint JSON files'
value: ${{ jobs.publish.outputs.GIST_ID }}
value: ${{ jobs.gist.outputs.GIST_ID }}

jobs:
upload:
gist:
runs-on: ubuntu-22.04
outputs:
GIST_ID: ${{ steps.upload.outputs.result }}
Expand Down

0 comments on commit 59b3d7d

Please sign in to comment.