Skip to content

Commit 9175396

Browse files
committed
fix: et al
1 parent 0b95dcd commit 9175396

File tree

4 files changed

+6
-33
lines changed

4 files changed

+6
-33
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ on:
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

.github/workflows/release.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ on:
1212
permissions:
1313
contents: write
1414
pull-requests: write
15-
packages: write
1615

1716
jobs:
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

packages/cli/tests/.tmp/testPaths.ts/keystore/.default

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/cli/tests/.tmp/testPaths.ts/keystore/default.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)