Skip to content

Commit

Permalink
#25: Basic x64 packaging and leia-test setup part 4
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Aug 13, 2021
1 parent a60d67f commit 73d7bda
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/pr-basic-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,19 @@ jobs:
- name: Package CLI
shell: bash
run: |
echo "$PATH"
yarn build
ls -lsa dist/@lando
- name: Replace source CLI with packaged one
shell: bash
run: |
echo "$PATH"
mv ./dist/@lando/hyperdrive /usr/local/bin/hyperdrive
chmod +x /usr/local/bin/hyperdrive
# Set os specific vars
if [ "$RUNNER_OS" == "Windows" ]; then
mv ./dist/@lando/hyperdrive.exe /usr/bin/hyperdrive.exe
chmod +x /usr/local/bin/hyperdrive.exe
else
mv ./dist/@lando/hyperdrive /usr/local/bin/hyperdrive
chmod +x /usr/local/bin/hyperdrive
fi
- name: Verify we can run the packaged CLI
shell: bash
run: |
Expand Down

0 comments on commit 73d7bda

Please sign in to comment.