Setup-Bend@Daily Checking #234
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
# Description: | |
# - Setup Bend with GitHub Actions | |
# REF: | |
# - https://github.com/marketplace/actions/checkout | |
name: Setup-Bend@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-bend: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
name: Setup Bend@${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Bend | |
uses: hustcer/setup-bend@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check Bend Version | |
run: | | |
bend --version | |
- 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 |