mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
fix: use ELVISH_VERSION to specify elvish test version (#1276)
This commit is contained in:
parent
3c55167a68
commit
72c3a2377a
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
@ -8,6 +8,7 @@ on:
|
||||
|
||||
env:
|
||||
BATS_VERSION: v1.7.0
|
||||
ELVISH_VERSION: v0.18.0
|
||||
|
||||
jobs:
|
||||
nix:
|
||||
@ -40,11 +41,11 @@ jobs:
|
||||
sudo apt-get -y install fish curl
|
||||
|
||||
# Download elvish binary and add to path
|
||||
curl https://dl.elv.sh/linux-amd64/elvish-v0.18.0.tar.gz -o elvish-v0.18.0.tar.gz
|
||||
tar xzf elvish-v0.18.0.tar.gz
|
||||
rm elvish-v0.18.0.tar.gz
|
||||
curl https://dl.elv.sh/linux-amd64/elvish-${{ env.ELVISH_VERSION }}.tar.gz -o elvish-${{ env.ELVISH_VERSION }}.tar.gz
|
||||
tar xzf elvish-${{ env.ELVISH_VERSION }}.tar.gz
|
||||
rm elvish-${{ env.ELVISH_VERSION }}.tar.gz
|
||||
mkdir -p "$HOME/bin"
|
||||
mv elvish-v0.18.0 "$HOME/bin/elvish"
|
||||
mv elvish-${{ env.ELVISH_VERSION }} "$HOME/bin/elvish"
|
||||
echo "$HOME/bin" >>"$GITHUB_PATH"
|
||||
|
||||
- name: Install bats
|
||||
|
Loading…
Reference in New Issue
Block a user