.github/workflows/cron.yml #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
schedule: | |
- cron: '30 1 1,15 * *' # Run at 01:30 on the 1st and 15th day of the month. | |
jobs: | |
test_schedule: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
latest=$(curl -s 'https://raw.githubusercontent.com/dfinity/sdk/master/public/manifest.json' | jq -r '.tags.latest') | |
echo "LATEST=$latest" >> "$GITHUB_ENV" | |
- uses: ./ | |
with: | |
dfx-version: ${{ env.LATEST }} | |
install-moc: true | |
vessel-version: 0.7.0 | |
- run: | | |
dfx --version | |
moc --version | |
vessel --version |