Skip to content

Commit

Permalink
remove build artifact uploading. add gh token
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Nov 15, 2023
1 parent 4c61716 commit 36ded7c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/create-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ jobs:
create-package:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'create-package')
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
Expand Down Expand Up @@ -38,16 +40,11 @@ jobs:
- run: npm version "$BUILD_VERSION" --no-git-tag-version
- run: npm pack

- uses: actions/upload-artifact@v3
with:
name: ${{ env.ARTIFACT_NAME }}
path: "*.tgz"

# create the release if not exist
- run: gh release create v0.0.0-packages --notes "catchall release for temp packages" -R ${{ github.repository }}
continue-on-error: true

# upload this artifact to the github release
# upload this artifact to the "packages" github release
- run: gh release upload v0.0.0-packages *.tgz -R rokucommunity/roku-debug

- name: Fetch build artifact
Expand Down

0 comments on commit 36ded7c

Please sign in to comment.