aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/homebrew-cask-updates.yml
blob: 97ac3ed573c118b2e871adff125a3e7a41228945 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: bump-ferdium-casks
on:
  release:
    types: [published]
  # Manual trigger from the UI
  workflow_dispatch:

jobs:
  bump-casks:
    runs-on: macos-latest
    steps:
    - uses: macauley/action-homebrew-bump-cask@v1
      with:
        # Required, custom GitHub access token with only the 'public_repo' scope enabled
        token: ${{secrets.HOMEBREW_FERDIUM_PUBLISH_TOKEN}}
        # Bump all outdated casks in this tap
        tap: ferdium/homebrew-ferdium
        # Bump only these casks if outdated
        cask: ferdium-nightly
        livecheck: true
        dryrun: false
# TODO: Need separate ones for the beta and public builds