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 4f5e3e8
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 /Users/runner/work/.erg && echo y | python ergup.py
export PATH=$PATH:~/.erg/bin
export ERG_PATH=~/.erg
export PATH=$PATH:/Users/runner/work/.erg/bin
export ERG_PATH=/Users/runner/work/.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 4f5e3e8

Please sign in to comment.