Skip to content

Commit

Permalink
Use home dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Apr 19, 2024
1 parent 58a6f4d commit 3e05668
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Extract GnuCOBOL
if: steps.cache-gnu-cobol.outputs.cache-hit != 'true'
shell: pwsh
run: 7z x $HOME\gnucobol-3.2.7z -ognucobol -y
run: 7z x $HOME\gnucobol-3.2.7z -o$HOME\gnucobol -y

- name: Fetch CobolCheck
if: steps.cache-gnu-cobol.outputs.cache-hit != 'true'
Expand Down
4 changes: 2 additions & 2 deletions bin/setup-environment.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$gnucobolDir = "${env:GITHUB_WORKSPACE}\gnucobol"
$cobolcheckDir = "${env:GITHUB_WORKSPACE}\cobolcheck"
$gnucobolDir = "${HOME}\gnucobol"
$cobolcheckDir = "${HOME}\cobolcheck"
$env:Path = "${gnucobolDir}\bin;${cobolcheckDir};${env:Path}"
[System.Environment]::SetEnvironmentVariable('COB_CONFIG_DIR', "${gnucobolDir}\config")
[System.Environment]::SetEnvironmentVariable('COB_COPY_DIR', "${gnucobolDir}\copy")
Expand Down

0 comments on commit 3e05668

Please sign in to comment.