Update PresentMon #270
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
name: Update PresentMon | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
update-presentmon: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "npm" | |
- name: Update PresentMon | |
run: node ./presentmon/updatePresentMon.js | |
- name: Commit new version | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Update PresentMon | |
file_pattern: "presentmon/presentmon.zip presentmon/version" |