Skip to content

Setup-Moonbit@Daily Checking #402

Setup-Moonbit@Daily Checking

Setup-Moonbit@Daily Checking #402

Workflow file for this run

# Description:
# - Setup Moonbit with GitHub Actions
# REF:
# - https://github.com/marketplace/actions/checkout
name: Setup-Moonbit@Daily Checking
on:
push:
branches:
- main
- develop
# This schedule will run only from the default branch
schedule:
- cron: '15 0 * * *' # run at 00:15 AM UTC
jobs:
setup-moonbit:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: Setup MoonBit@${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Moonbit
uses: hustcer/setup-moonbit@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check Moonbit Version
run: |
moon version --all
- name: Create an Issue for Release Failure
if: ${{ failure() }}
uses: JasonEtco/create-an-issue@v2.9.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
update_existing: true
search_existing: open
filename: .github/AUTO_ISSUE_TEMPLATE/daily-checking-fail.md