Skip to content

Commit

Permalink
Fix for CI (#84)
Browse files Browse the repository at this point in the history
* Fix for CI
  • Loading branch information
pmanko authored Oct 16, 2024
1 parent 1a4c5b5 commit 3149642
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
workflow_dispatch:

jobs:
Expand All @@ -26,7 +26,7 @@ jobs:
run: docker swarm init

- name: Build local docker image of HIE
run: ./build-image.sh
run: ./build-custom-images.sh

- name: Download instant CLI
run: ./get-cli.sh linux latest
Expand Down
8 changes: 4 additions & 4 deletions get-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ cli_version=${2:-latest}
case ${option} in
linux)
echo "Downloading linux binary version: ${cli_version}"
curl -L https://github.com/openhie/instant-v2/releases/download/"$cli_version"/instant-linux -o instant-linux
chmod +x ./instant-linux
curl -L https://github.com/openhie/instant-v2/releases/download/"$cli_version"/instant-linux -o instant
chmod +x ./instant
exit 0
;;
macos)
Expand All @@ -24,10 +24,10 @@ windows)
;;
all)
echo "Downloading all binaries, version: ${cli_version}"
curl -L https://github.com/openhie/instant-v2/releases/download/"$cli_version"/instant-linux -o instant-linux
curl -L https://github.com/openhie/instant-v2/releases/download/"$cli_version"/instant-linux -o instant
curl -L https://github.com/openhie/instant-v2/releases/download/"$cli_version"/instant-macos -o instant-macos
curl -L https://github.com/openhie/instant-v2/releases/download/"$cli_version"/instant-win.exe -o instant.exe
chmod +x ./instant-linux
chmod +x ./instant
chmod +x ./instant-macos
chmod +x ./instant.exe
exit 0
Expand Down

0 comments on commit 3149642

Please sign in to comment.