Skip to content

Commit

Permalink
Update test_install.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldwan committed Sep 22, 2023
1 parent 8d5d74a commit 4485fa7
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,31 +107,20 @@ jobs:
- "windows-latest"
runs-on: ${{ matrix.os }}
env:
FLYCTL_INSTALL: "$HOME\\flyctl"
FLYCTL_INSTALL: "${{ github.env.HOME }}\\flyctl"
steps:
- name: checkout
uses: actions/checkout@v4
- name: Install
shell: powershell
run: |
./installers/install.ps1
env
$env:PATH -split ':' | Select-Object -Last 1 | Out-File -FilePath $env:GITHUB_PATH -Append
env
if: contains(matrix.os, 'windows')
- run: env
shell: powershell
if: contains(matrix.os, 'windows')
- run: ls C:\Users\runneradmin\.fly\bin
shell: powershell
if: contains(matrix.os, 'windows')
- run: env
shell: powershell
if: contains(matrix.os, 'windows')
- name: Check that `fly` is in PATH and is executable
run: flyctl version
if: ${{ !contains(matrix.os, 'windows') }}
# - run: ls C:\Users\runneradmin\.fly\bin
# shell: powershell
# # - run: env
# # shell: powershell
- name: Check that `fly` is in PATH and is executable
shell: powershell
run: flyctl.exe version
if: contains(matrix.os, 'windows')
run: flyctl.exe version

0 comments on commit 4485fa7

Please sign in to comment.