Skip to content

Commit

Permalink
Fix publish artifact workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
paulober committed Apr 27, 2023
1 parent 0f7cd24 commit dad3e65
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
types: [published]

permissions:
contents: read
# read is not enought for editing releases
contents: write
deployments: write
packages: write

Expand Down Expand Up @@ -44,7 +45,7 @@ jobs:
name: Visual Studio Code extension package
path: pico-w-go-*.vsix

- name: Add artifact to release
- name: Upload artifact to release
#gh api --method POST -H "Accept: application/vnd.github+json" /repos/paulober/Pico-W-Go/releases/$RELEASE_ID/assets
run: gh release upload $RELEASE_TAG_NAME pico-w-go-*.vsix
env:
Expand Down

0 comments on commit dad3e65

Please sign in to comment.