Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
fix: use ELVISH_VERSION to specify elvish test version (#1276)
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahr authored Jun 26, 2022
1 parent 3c55167 commit 72c3a23
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

env:
BATS_VERSION: v1.7.0
ELVISH_VERSION: v0.18.0

jobs:
nix:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 72c3a23

Please sign in to comment.