Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mtshiba committed Feb 18, 2024
1 parent 94daf14 commit cb3d153
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ jobs:
- name: Execute the script (Ubuntu/MacOS)
if: runner.os != 'Windows'
run: |
python bin/ergup310.pyc && rm -rf ~/.erg && python ergup.py
python bin/ergup310.pyc && rm -rf /home/runner/.erg && echo y | python ergup.py
export PATH=$PATH:~/.erg/bin
export ERG_PATH=~/.erg
export PATH=$PATH:/home/runner/.erg/bin
export ERG_PATH=/home/runner/.erg
echo 'print! "hello, world!"' | erg
- name: Execute the script (Windows)
if: runner.os == 'Windows'
run: |
python bin/ergup310.pyc && Remove-Item -Force -Recurse C:\Users\runneradmin\.erg && python ergup.py
python bin/ergup310.pyc && Remove-Item -Force -Recurse C:\Users\runneradmin\.erg && echo y | python ergup.py
$env:PATH+=";C:\Users\runneradmin\.erg\bin"
$env:ERG_PATH="C:\Users\runneradmin\.erg"
Expand Down

0 comments on commit cb3d153

Please sign in to comment.