Skip to content

Commit

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

0 comments on commit 3b5a30b

Please sign in to comment.