7.0.1-nightly.4 #311
Workflow file for this run
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: Homebrew cask updates | |
on: | |
release: | |
types: [published] | |
# Manual trigger from the UI | |
workflow_dispatch: | |
jobs: | |
bump-casks: | |
runs-on: macos-14 | |
steps: | |
- name: Publish nightly | |
uses: macauley/action-homebrew-bump-cask@v1 | |
if: ${{ contains(github.event.release.tag_name, 'nightly') }} | |
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 | |
- name: Publish beta | |
uses: macauley/action-homebrew-bump-cask@v1 | |
if: ${{ contains(github.event.release.tag_name, 'beta') }} | |
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-beta | |
livecheck: true | |
dryrun: false | |
- name: Publish release | |
uses: macauley/action-homebrew-bump-cask@v1 | |
if: ${{ !contains(github.event.release.tag_name, 'nightly') && !contains(github.event.release.tag_name, 'beta') }} | |
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 | |
livecheck: true | |
dryrun: false |