From d26b732ba8ffbef6789d0f04ebd35b16ca65b9be Mon Sep 17 00:00:00 2001 From: everpcpc Date: Mon, 12 Aug 2024 12:23:25 +0800 Subject: [PATCH] z --- .github/workflows/publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f1a39f1..55cc420 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,8 @@ 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 with: @@ -28,4 +29,5 @@ 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"