We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 98e93f9 + 8b07e6c commit e25b761Copy full SHA for e25b761
1 file changed
.github/workflows/publish.yml
@@ -80,14 +80,22 @@ jobs:
80
- run: npm ci
81
env:
82
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83
-
+
84
+ - name: create a package.json that actions/upload will like
85
+ run: |
86
+ cp package.json package.json.real
87
+ sed --regexp-extended '/"name"\s*:/ s#@[a-zA-Z\\-]+/##' package.json.real > package.json
88
89
- run: npm run package
90
91
- uses: actions/upload-artifact@v3
92
with:
93
name: vscode-github-actions-${{ env.EXT_VERSION }}.vsix
94
path: ./vscode-github-actions-${{ env.EXT_VERSION }}.vsix
95
96
+ - name: restore old package.json
97
+ run: mv package.json.real package.json
98
99
- name: Create release and upload release asset
100
uses: actions/github-script@v6
101
0 commit comments