ci: change message and working dir

This commit is contained in:
rigor789
2020-07-17 23:02:58 +02:00
parent 026632bdd7
commit 87bd1cdd02

View File

@@ -26,10 +26,10 @@ jobs:
run: npx nx run core:build.npm
- name: Publish @nativescript/core
working-directory: dist
env:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
echo dist/nativescript-core-$NPM_VERSION.tgz
echo Publishing to NPM...
npm publish dist/nativescript-core-$NPM_VERSION.tgz --tag ci --dry-run
echo "Publishing @nativescript/core@$NPM_VERSION to NPM..."
npm publish nativescript-core-$NPM_VERSION.tgz --tag ci --dry-run