Skip to content

Commit

Permalink
ci: fix download path
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-jerry-ye committed Sep 4, 2024
1 parent 924fb8d commit 02fdd86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
- name: install
if: ${{ matrix.os.name != 'windows-latest' }}
run: |
/bin/bash -c "$(curl -fsSL https://cli.moonbitlang.com/${{ matrix.os.path }}_moon_setup.sh)"
/bin/bash -c "$(curl -fsSL https://cli.moonbitlang.com/install/unix.sh)"
echo "$HOME/.moon/bin" >> $GITHUB_PATH
- name: install on windows
if: ${{ matrix.os.name == 'windows-latest' }}
run: |
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser; irm https://cli.moonbitlang.cn/windows_moon_setup.ps1 | iex
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser; irm https://cli.moonbitlang.cn/install/powershell.ps1 | iex
"C:\Users\runneradmin\.moon\bin" | Out-File -FilePath $env:GITHUB_PATH -Append
- name: moon version
Expand Down

0 comments on commit 02fdd86

Please sign in to comment.