Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ceedubs committed Oct 8, 2024
1 parent d200425 commit 11ec7a0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- 'main'
ucm-release-version:
- 'release%2F0.5.23'
- 'release%2F0.5.27'
- 'trunk-build'
steps:
- name: Check out repository code
Expand Down
13 changes: 12 additions & 1 deletion tests/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@ TRANSCRIPT=pull-and-run-tests.md

envsubst < pull-and-run-tests.tpl.md > $TRANSCRIPT

curl -L "https://github.com/unisonweb/unison/releases/download/${UCM_RELEASE}/ucm-linux.tar.gz" | tar -xz
release_file_name() {
case "$UCM_RELEASE" in
"release%2F0.5.23" | "release%2F0.5.27")
echo "ucm-linux.tar.gz"
;;
*)
echo "ucm-linux-x64.tar.gz"
;;
esac
}

curl --fail-with-body -L "https://github.com/unisonweb/unison/releases/download/${UCM_RELEASE}/$(release_file_name)" | tar -xz

exit_status=0

Expand Down

0 comments on commit 11ec7a0

Please sign in to comment.