Skip to content

Commit

Permalink
minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Nov 13, 2023
1 parent 2b08060 commit 54e4020
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/actions/setup_nupm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ outputs:
nupm_path:
value: ${{ steps.set-output.outputs.nupm-path }}
description: 'The path to the installed Nupm'

defaults:
run:
shell: nu {0}

runs:
using: composite
steps:
Expand All @@ -19,10 +24,8 @@ runs:

- name: Show Nushell Version
run: version
shell: "nu {0}"

- run: "git clone --depth 1 https://github.com/nushell/nupm /tmp/nupm"
shell: "nu {0}"
- run: git clone --depth 1 https://github.com/nushell/nupm /tmp/nupm

- run: |
use /tmp/nupm/nupm
Expand All @@ -31,6 +34,4 @@ runs:
nupm install --force --path /tmp/nupm
}
$env.GITHUB_OUTPUT = 'nupm-path="/tmp/nupm"'
shell: "nu {0}"
id: set-output

0 comments on commit 54e4020

Please sign in to comment.