mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-06 07:50:35 +00:00
general workflows fixup
This commit is contained in:
parent
ac8384ee5e
commit
fe6f47b063
2 changed files with 5 additions and 8 deletions
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
|
|
@ -6,7 +6,7 @@ on:
|
|||
jobs:
|
||||
pr-pull:
|
||||
if: contains(github.event.pull_request.labels.*.name, 'pr-pull')
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: macos-13
|
||||
steps:
|
||||
- name: Set up Homebrew
|
||||
uses: Homebrew/actions/setup-homebrew@master
|
||||
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
env:
|
||||
HOMEBREW_GITHUB_API_TOKEN: ${{ github.token }}
|
||||
PULL_REQUEST: ${{ github.event.pull_request.number }}
|
||||
run: brew pr-pull --debug --tap=$GITHUB_REPOSITORY $PULL_REQUEST
|
||||
run: brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST"
|
||||
|
||||
- name: Push commits
|
||||
uses: Homebrew/actions/git-try-push@master
|
||||
|
|
@ -30,4 +30,4 @@ jobs:
|
|||
if: github.event.pull_request.head.repo.fork == false
|
||||
env:
|
||||
BRANCH: ${{ github.event.pull_request.head.ref }}
|
||||
run: git push --delete origin $BRANCH
|
||||
run: git push --delete origin "$BRANCH"
|
||||
|
|
|
|||
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
|
|
@ -5,10 +5,7 @@ on:
|
|||
pull_request:
|
||||
jobs:
|
||||
test-bot:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macOS-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: macos-13
|
||||
steps:
|
||||
- name: Set up Homebrew
|
||||
id: set-up-homebrew
|
||||
|
|
@ -16,7 +13,7 @@ jobs:
|
|||
|
||||
- name: Cache Homebrew Bundler RubyGems
|
||||
id: cache
|
||||
uses: actions/cache@v1
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
|
||||
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue