Skip to content

Commit

Permalink
fix: Fix release and test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Oct 4, 2023
1 parent 47b1a0a commit 4d46ab2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ jobs:
- name: Test Nu Install from NPM Registry
shell: bash
run: |
let tag = ('npm/app/package.json' | open | get distTag)
echo $'Installing Nu@($tag) from npm...'
npm i --location=global $'nushell@($tag)' --registry https://registry.npmjs.org
export NU_TAG=`jq .distTag npm/app/package.json`
echo "Installing Nu@$NU_TAG from npm..."
npm i --location=global "nushell@$NU_TAG" --registry https://registry.npmjs.org
echo 'Nu version info:'; nu -c 'version'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
- name: Test Nu Install from NPM Registry
shell: bash
run: |
let tag = ('npm/app/package.json' | open | get distTag)
echo $'Installing Nu@($tag) from npm...'
npm i --location=global $'nushell@($tag)' --registry https://registry.npmjs.org
export NU_TAG=`jq .distTag npm/app/package.json`
echo "Installing Nu@$NU_TAG from npm..."
npm i --location=global "nushell@$NU_TAG" --registry https://registry.npmjs.org
echo 'Nu version info:'; nu -c 'version'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4d46ab2

Please sign in to comment.