Skip to content

Commit 1be5ed1

Browse files
committed
Update release workflow
1 parent 6d2ca02 commit 1be5ed1

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: PhysX-JS-WebIDL - Release Library
22

33
on:
4+
workflow_dispatch:
45
push:
56
tags:
67
- 'v*'
@@ -13,10 +14,6 @@ jobs:
1314
build:
1415
name: Build PhysX-JS-WebIDL
1516
runs-on: ubuntu-latest
16-
environment: publish
17-
permissions:
18-
contents: write
19-
id-token: write
2017

2118
steps:
2219
- name: Checkout Repository
@@ -36,20 +33,25 @@ jobs:
3633
- name: Build PhysX-JS-WebIDL
3734
run: sudo docker compose run --rm builder ./make.sh
3835

39-
- name: Create release
40-
uses: ncipollo/release-action@v1
41-
with:
42-
allowUpdates: true
43-
artifacts: "dist/*"
44-
draft: true
45-
updateOnlyUnreleased: true
36+
# - name: Create release
37+
# uses: ncipollo/release-action@v1
38+
# with:
39+
# allowUpdates: true
40+
# artifacts: "dist/*"
41+
# draft: true
42+
# updateOnlyUnreleased: true
4643

4744
- name: Setup node
4845
uses: actions/setup-node@v4
4946
with:
50-
node-version: '20.x'
47+
node-version: '20'
5148
registry-url: 'https://registry.npmjs.org'
52-
49+
50+
- name: Update npm
51+
run: npm install -g npm@latest
52+
- name: Run npm ci
53+
working-directory: ./dist
54+
run: npm ci
5355
- name: Publish to npmjs
5456
working-directory: ./dist
5557
run: npm publish

0 commit comments

Comments
 (0)