Check if a new version has been released by upstream #45
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: check upstream to see whether a new version available | |
on: | |
schedule: | |
# Daily for now | |
- cron: '0 2 * * *' | |
workflow_dispatch: | |
jobs: | |
update-snapcraft-yaml: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout this repo | |
uses: actions/checkout@v4 | |
- name: Run desktop-snaps action | |
uses: ubuntu/desktop-snaps@stable | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
repo: ${{ github.repository }} |