Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,22 @@ jobs:
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}


- name: create a package.json that actions/upload will like
run: |
cp package.json package.json.real
sed --regexp-extended '/"name"\s*:/ s#@[a-zA-Z\\-]+/##' package.json.real > package.json

- run: npm run package

- uses: actions/upload-artifact@v3
with:
name: vscode-github-actions-${{ env.EXT_VERSION }}.vsix
path: ./vscode-github-actions-${{ env.EXT_VERSION }}.vsix

- name: restore old package.json
run: mv package.json.real package.json

- name: Create release and upload release asset
uses: actions/github-script@v6
with:
Expand Down