File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -138,9 +138,9 @@ jobs:
138138 environment : ${{ startsWith(github.ref, 'refs/tags/v') && 'deployments' || '' }}
139139 permissions :
140140 id-token : write # only used for npm publishing
141- actions : read
141+ actions : read # we need to copy this sadly
142142 contents : write
143- runs-on : buildjet-2vcpu-ubuntu-2204
143+ runs-on : ${{ startsWith(github.ref, 'refs/tags/v') && 'ubuntu-latest' || ' buildjet-2vcpu-ubuntu-2204' }}
144144 steps :
145145 - uses : actions/checkout@v6
146146 - uses : actions/setup-java@v5
@@ -237,4 +237,6 @@ jobs:
237237 - name : publish to NPM
238238 if : startsWith(github.ref, 'refs/tags/v')
239239 working-directory : rascal-vscode-extension
240- run : npm publish --provenance --access=public
240+ run : |
241+ npm install -g [email protected] # we need to use a newer version of npm due to oidc support 242+ npm publish --provenance --access=public
You can’t perform that action at this time.
0 commit comments