diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0c4fcf3..d4664ee 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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"