Skip to content

Commit

Permalink
feat: Add version input support
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Sep 16, 2024
1 parent deda733 commit 5643977
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,25 @@ jobs:

- name: Check Moonbit Version
run: |
moon version
moonc -v
moonrun --version
moon version --all
setup-moonbit-of-version:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: Setup MoonBit with Version@${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4.1.7

- name: Setup Moonbit with Version
uses: hustcer/setup-moonbit@develop
with:
version: 0.1.20240910+3af041b9a
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check Moonbit Version
run: |
moon version --all
4 changes: 1 addition & 3 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ jobs:

- name: Check Moonbit Version
run: |
moon version
moonc -v
moonrun --version
moon version --all
- name: Create an Issue for Release Failure
if: ${{ failure() }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,4 @@ jobs:

- name: Check Moonbit Version
run: |
moon version
moonc -v
moonrun --version
moon version --all

0 comments on commit 5643977

Please sign in to comment.