Skip to content

Commit 0ded9fb

Browse files
authored
Update publish.yml
1 parent 392173a commit 0ded9fb

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/publish.yml

+6-9
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,10 @@ jobs:
3434
node-version: '12.x'
3535
registry-url: 'https://npm.pkg.github.com'
3636
scope: '@babylonjs'
37-
- name: Build Package (temp)
38-
run: npm pack
37+
- name: Version & Publish Package
38+
run: |
39+
npm version --no-git-tag-version ${GITHUB_REF/refs\/tags\//}
40+
npm publish
3941
working-directory: ./Package/Assembled
40-
# - name: Version & Publish Package
41-
# run: |
42-
# npm version --no-git-tag-version ${GITHUB_REF/refs\/tags\//}
43-
# npm publish
44-
# working-directory: ./Package/Assembled
45-
# env:
46-
# NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
env:
43+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)