Skip to content

Commit c1722ed

Browse files
committed
ci: 🎡 WIP package publishing in CI
1 parent 8a38fa0 commit c1722ed

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/tag-publish.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ jobs:
6262
name: Publish stable packages
6363
if: github.event.release.target_commitish == 'test-package-publishing' && github.event.release.prerelease == false
6464
runs-on: ubuntu-latest
65+
env:
66+
TEST_MSG: "asdf test"
6567
steps:
6668
- name: ⬇️ Checkout repo
6769
uses: actions/checkout@v3
@@ -78,11 +80,12 @@ jobs:
7880
with:
7981
script: |
8082
console.log("Context: ", context.payload)
81-
console.log("owner: ", context.payload.owner)
83+
console.log("repo: ", context.payload.repository)
84+
console.log("owner: ", context.payload.repository.owner)
8285
8386
github.rest.repos.updateRelease({
8487
owner: "dbsystel",
8588
repo: context.payload.repository.name,
8689
release_id: context.payload.release.id,
87-
body: '👋 woo hoo!'
90+
body: process.env.TEST_MSG
8891
})

0 commit comments

Comments
 (0)