mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +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
|
run: npx nx run core:build
|
||||||
|
|
||||||
- name: Publish @nativescript/core
|
- name: Publish @nativescript/core
|
||||||
working-directory: dist/packages
|
working-directory: dist/packages/core
|
||||||
env:
|
env:
|
||||||
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ../../.npmrc
|
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ../../.npmrc
|
||||||
echo "Publishing @nativescript/core@$NPM_VERSION to NPM with tag $NPM_TAG..."
|
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