Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:syoyo/tinyusdz into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed Jan 24, 2025
2 parents fcc9af5 + b5e60aa commit ba6b79d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/wasmPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ on:
description: 'NPM Publish arg'
required: false
type: string
default: --dry-run

jobs:
tinyusdz-wasm:
Expand Down Expand Up @@ -63,7 +62,12 @@ jobs:
path: ${{ github.workspace }}/web/npm

- name: Version & Publish Package
run: |
# Setup .npmrc file to publish to npm
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: |
npm version --no-git-tag-version ${{ github.event.inputs.release_version }} --allow-same-version
npm publish --access public --tag ${{ github.event.inputs.NPM_tag }} ${{ github.event.inputs.NPM_publish_arg }}
working-directory: ${{ github.workspace }}/web/npm
Expand Down
2 changes: 1 addition & 1 deletion web/npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tinyusdz",
"version": "0.0.1",
"version": "0.0.2",
"description": "Tinyusdz wasm",
"main": "tinyusdz.js",
"scripts": {
Expand Down

0 comments on commit ba6b79d

Please sign in to comment.