We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb63625 commit 9a37246Copy full SHA for 9a37246
1 file changed
.github/workflows/build.yml
@@ -14,6 +14,9 @@ jobs:
14
name: "Build with Emsdk:${{ matrix.emsdk }}"
15
runs-on: ubuntu-latest
16
if: github.event_name == 'schedule' || !contains(github.event.head_commit.message, '[ci skip]')
17
+ permissions:
18
+ id-token: write
19
+ contents: write
20
env:
21
CMAKE_EXE_LINKER_FLAGS: "-sMAXIMUM_MEMORY=4294967296 -sSINGLE_FILE"
22
strategy:
@@ -137,11 +140,7 @@ jobs:
137
140
git push -u origin "v$VERSION"
138
141
- name: "Publish to npm"
139
142
if: github.event_name == 'schedule' && matrix.emsdk == 'tot'
- env:
- NPM_REGISTRY: "registry.npmjs.org"
- NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
143
run: |
144
- npm config set "//${NPM_REGISTRY}/:_authToken=${NPM_AUTH_TOKEN}"
145
if [ $RELEASE ]; then
146
echo "Publishing release ..."
147
npm publish
0 commit comments