File tree Expand file tree Collapse file tree 4 files changed +6
-33
lines changed
packages/cli/tests/.tmp/testPaths.ts/keystore Expand file tree Collapse file tree 4 files changed +6
-33
lines changed Original file line number Diff line number Diff line change 4747 type : string
4848
4949 cli-version :
50- description : ' CLI version to install'
50+ description : ' CLI release tag to install (e.g., v0.1.0) '
5151 required : false
5252 type : string
53- default : ' 0 .1.0'
53+ default : ' v0 .1.0'
5454
5555 secrets :
5656 mnemonic :
@@ -118,9 +118,10 @@ jobs:
118118
119119 - name : Install CLI
120120 run : |
121- echo "@dotns:registry=https://npm.pkg.github.com" >> .npmrc
122- echo "//npm.pkg.github.com/:_authToken=${{ github.token }}" >> .npmrc
123- npm install -g @dotns/cli@${{ inputs.cli-version }}
121+ gh release download ${{ inputs.cli-version }} -p "*.tgz" -R ${{ github.repository }}
122+ npm install -g ./dotns-cli-*.tgz
123+ env :
124+ GH_TOKEN : ${{ github.token }}
124125
125126 - name : Resolve target
126127 id : target
Original file line number Diff line number Diff line change 1212permissions :
1313 contents : write
1414 pull-requests : write
15- packages : write
1615
1716jobs :
1817 build :
@@ -308,14 +307,6 @@ jobs:
308307 append_body : true
309308 body_path : release-body.md
310309
311- - name : Publish to GitHub Packages
312- if : github.event_name == 'release' && steps.build.outcome == 'success'
313- working-directory : packages/cli
314- run : |
315- echo "@dotns:registry=https://npm.pkg.github.com" >> .npmrc
316- echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
317- npm publish *.tgz
318-
319310 - name : Fail if build failed
320311 if : steps.build.outcome == 'failure'
321312 run : exit 1
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments