-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9100e62
commit 55495b5
Showing
2 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,13 +29,26 @@ runs: | |
echo "${HOME}/.jbang/bin" >> $GITHUB_PATH | ||
${HOME}/.jbang/bin/jbang version | ||
echo "::endgroup::" | ||
- name: 'Setup JBang' | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
maxandersen
Author
Contributor
|
||
shell: bash | ||
if: runner.os != 'Windows' | ||
run: | | ||
echo "::group::🔧 Setup JBang" | ||
echo "${HOME}/.jbang/bin" >> $GITHUB_PATH | ||
${HOME}/.jbang/bin/jbang version | ||
echo "::endgroup::" | ||
- name: 'Download JBang (Windows)' | ||
shell: pwsh | ||
if: runner.os == 'Windows' | ||
run: | | ||
echo "::group::⬇️ Download JBang" | ||
iex "& { $(iwr https://ps.jbang.dev) } app setup" | ||
echo "::endgroup::" | ||
- name: 'Setup JBang (Windows)' | ||
shell: pwsh | ||
if: runner.os == 'Windows' | ||
run: | | ||
echo "::group::🔧 Setup JBang" | ||
echo "$HOME\.jbang\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
& $HOME\.jbang\bin\jbang.ps1 version | ||
echo $GITHUB_PATH | ||
echo "::endgroup::" | ||
echo "::endgroup::" |
Why is there a separate path setup? It seems to do exactly the same as the download step? (minus the download)