Skip to content

Commit

Permalink
fix: Unhandled error: Error: Input required and not supplied: github-…
Browse files Browse the repository at this point in the history
…token
  • Loading branch information
rutesantos4 committed Sep 24, 2023
1 parent cf7d51f commit a71dbac
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/publish-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Print outputs
uses: actions/github-script@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
console.log(JSON.stringify(${{ steps.changesets.outputs }}, null, "\t"));
- name: Build project
if: steps.changesets.outputs.published == 'true'
id: build-project
Expand All @@ -53,7 +46,7 @@ jobs:
if: steps.zip-folder.outcome == 'success'
uses: actions/github-script@v6
with:
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
async function getReleaseId() {
try {
Expand Down

0 comments on commit a71dbac

Please sign in to comment.