diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b1951f8..83ab5a2 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -6,10 +6,21 @@ on: default: "OTP-27.0.1" openssl-version: default: "3.1.6" + schedule: + # Run every 1 minute + - cron: '*/1 * * * *' # TODO: remove push: before merging push: concurrency: builds_txt jobs: + schedule: + if: github.event.schedule + runs-on: ubuntu-latest + steps: + run: | + latest_sha=$(gh api repos/erlang/otp/commits/master --jq '.[0].sha') + echo "Latest SHA: $latest_sha" + build: name: "Build OTP macOS ${{ matrix.arch }}" runs-on: macos-latest