From 4f5e3e8dc0c2c0039f43701deb1d8537693e04a8 Mon Sep 17 00:00:00 2001 From: Shunsuke Shibayama Date: Sun, 18 Feb 2024 14:08:04 +0900 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0c4fcf3..8d1479c 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 /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"