From 6259bb8833a10c1e3dcc84f418946bcf2db40f25 Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Thu, 21 Dec 2023 18:27:00 -0700 Subject: ci: update various github actions to latest (#1494) - update `actions/checkout` from v3 to v4 - update `actions/setup-node` from v3 to v4 - change `nick-fields/retry` from v2.8.3 to v2 - update `bluwy/release-for-reddit-action` from v1.2.0 to v2 - lock all CI runners to fixed version rather than latest --- .github/workflows/homebrew-cask-updates.yml | 74 ++++++++++++++--------------- 1 file changed, 37 insertions(+), 37 deletions(-) (limited to '.github/workflows/homebrew-cask-updates.yml') diff --git a/.github/workflows/homebrew-cask-updates.yml b/.github/workflows/homebrew-cask-updates.yml index eaecc0b2c..0d70868dd 100644 --- a/.github/workflows/homebrew-cask-updates.yml +++ b/.github/workflows/homebrew-cask-updates.yml @@ -8,41 +8,41 @@ on: jobs: bump-casks: - runs-on: macos-latest + runs-on: macos-12 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 + - 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 -- cgit v1.2.3-70-g09d2