This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-coho.git


The following commit(s) were added to refs/heads/master by this push:
     new a1d3e05  ci(actions): apply npm auth fix to all steps
a1d3e05 is described below

commit a1d3e05069f633ca5e3d17e4d8f4802c8380734a
Author: Erisu <[email protected]>
AuthorDate: Wed Aug 26 12:39:11 2020 +0900

    ci(actions): apply npm auth fix to all steps
---
 .github/workflows/nightly.yml | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index fe1af16..7ce8571 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -38,7 +38,6 @@ jobs:
     runs-on: ubuntu-latest
 
     env:
-      NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
       # Since npm loglevel is not boolean, it will always be in verbose mode 
to better debug errors.
       npm_config_loglevel: verbose
 
@@ -86,48 +85,68 @@ jobs:
         run: |
           cd ../cordova-cli
           npm publish --tag nightly
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
 
       - name: NPM Publish - cordova-lib
         run: |
           cd ../cordova-lib
           npm publish --tag nightly
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
 
       - name: NPM Publish - cordova-common
         run: |
           cd ../cordova-common
           npm publish --tag nightly
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
 
       - name: NPM Publish - cordova-fetch
         run: |
           cd ../cordova-fetch
           npm publish --tag nightly
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
 
       - name: NPM Publish - cordova-serve
         run: |
           cd ../cordova-serve
           npm publish --tag nightly
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
 
       - name: NPM Publish - cordova-create
         run: |
           cd ../cordova-create
           npm publish --tag nightly
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
 
       - name: NPM Publish - cordova-node-xcode
         run: |
           cd ../cordova-node-xcode
           npm publish --tag nightly
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
 
       - name: NPM Publish - cordova-android
         run: |
           cd ../cordova-android
           npm publish --tag nightly
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
 
       - name: NPM Publish - cordova-electron
         run: |
           cd ../cordova-electron
           npm publish --tag nightly
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
 
       - name: NPM Publish - cordova-ios
         run: |
           cd ../cordova-ios
           npm publish --tag nightly
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to