Skip to content

Commit 4486e3e

Browse files
committed
ci: 🎡 WIP package publishing in CI
1 parent c61f1de commit 4486e3e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/tag-publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ jobs:
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) }}
6467
runs-on: ubuntu-latest
6568
steps:
6669
- name: ⬇️ Checkout repo
@@ -73,13 +76,14 @@ jobs:
7376
VALID_SEMVER_VERSION=$(node scripts/version-helper.js $SEMVER_VERSION)
7477
echo "Semver stable version unclean $SEMVER_VERSION"
7578
echo "Semver stable version valid $VALID_SEMVER_VERSION"
79+
echo "TEST_CONTEXT: $TEST_CONTEXT"
7680
7781
- uses: actions/github-script@v6
7882
with:
7983
script: |
8084
github.rest.repos.updateRelease({
81-
owner: github.event.repository.owner,
82-
repo: github.event.repository.name,
85+
owner,
86+
repo,
8387
release_id: github.event.release.id,
8488
body: '👋 woo hoo!'
8589
})

0 commit comments

Comments
 (0)