mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 10:01:08 +08:00
ci: build
This commit is contained in:
4
.github/workflows/npm_release_core.yml
vendored
4
.github/workflows/npm_release_core.yml
vendored
@ -40,10 +40,10 @@ jobs:
|
||||
run: npx nx run core:build
|
||||
|
||||
- name: Publish @nativescript/core
|
||||
working-directory: dist/packages
|
||||
working-directory: dist/packages/core
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
||||
run: |
|
||||
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ../../.npmrc
|
||||
echo "Publishing @nativescript/core@$NPM_VERSION to NPM with tag $NPM_TAG..."
|
||||
npm publish nativescript-core-$NPM_VERSION.tgz --tag $NPM_TAG
|
||||
npm publish --tag $NPM_TAG
|
||||
|
Reference in New Issue
Block a user