File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 6161 publishstable :
6262 name : Publish stable packages
6363 if : github.event.release.target_commitish == 'test-package-publishing' && github.event.release.prerelease == false
64- env :
65- RELEASE_CONTEXT : ${{ toJson(github.event.release) }}
66- TEST_CONTEXT : ${{ toJson(github.event) }}
6764 runs-on : ubuntu-latest
6865 steps :
6966 - name : ⬇️ Checkout repo
@@ -76,18 +73,14 @@ jobs:
7673 VALID_SEMVER_VERSION=$(node scripts/version-helper.js $SEMVER_VERSION)
7774 echo "Semver stable version unclean $SEMVER_VERSION"
7875 echo "Semver stable version valid $VALID_SEMVER_VERSION"
79- echo "TEST_CONTEXT: $TEST_CONTEXT"
80- echo "Repository: " ${{github.event.repository}}
81- echo "Owner: " ${{github.event.repository.owner}}
82- echo "Login: " ${{github.event.repository.owner.login}}
8376
8477 - uses : actions/github-script@v6
8578 with :
8679 script : |
8780 console.log(context)
8881 github.rest.repos.updateRelease({
89- owner: github.event.repository .owner.login,
90- repo: github.event .repository.name,
91- release_id: github.event .release.id,
82+ owner: context.payload .owner.login,
83+ repo: context.payload .repository.name,
84+ release_id: context.payload .release.id,
9285 body: '👋 woo hoo!'
9386 })
You can’t perform that action at this time.
0 commit comments