File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 77# GitHub Action
88
99``` yaml
10- - uses : pkgxdev/setup@v1
10+ - uses : pkgxdev/setup@v2
1111` ` `
1212
1313Installs the latest version of ` pkgx`.
1414
1515See [`action.yml`] for all inputs and outputs, but here’s the usual ones :
1616
1717` ` ` yaml
18- - uses: pkgxdev/setup@v1
18+ - uses: pkgxdev/setup@v2
1919 with:
2020 +: deno@1.30
2121 rust@1.60 # we understand colloquial names, generally just type what you know
Original file line number Diff line number Diff line change @@ -29,21 +29,22 @@ _install_pre_reqs() {
2929 $SUDO apt-get $cmd -qq -o=Dpkg::Use-Pty=0 $@
3030 }
3131 else
32- echo " ensure you have the ` pkgx` pre-requisites installed:" >&2
3332 apt () {
3433 case " $1 " in
3534 update)
36- echo >&2
35+ echo " ensure you have the ` pkgx ` pre-requisites installed: " >&2
3736 ;;
3837 install)
3938 echo " apt-get" " $@ " >&2
4039 ;;
4140 esac
4241 }
4342 yum () {
43+ echo " ensure you have the ` pkgx` pre-requisites installed:" >&2
4444 echo " yum" " $@ " >&2
4545 }
4646 pacman () {
47+ echo " ensure you have the ` pkgx` pre-requisites installed:" >&2
4748 echo " pacman" " $@ " >&2
4849 }
4950 fi
@@ -107,7 +108,7 @@ _install_pkgx() {
107108
108109 rm -r " $tmpdir "
109110
110- if [ " $( command -v pkgx) " != /usr/local/bin/pkgx ]; then
111+ if [ " $( command -v pkgx 2>&1 ) " != /usr/local/bin/pkgx ]; then
111112 echo " warning: active pkgx is not /usr/local/bin/pkgx" >&2
112113 export PATH=" /usr/local/bin:$PATH " # so we can exec if required
113114 fi
You can’t perform that action at this time.
0 commit comments