From bd96ce13038ec242a9647ff56265aba4d946da23 Mon Sep 17 00:00:00 2001 From: Oliver Nordbjerg Date: Tue, 19 Nov 2024 15:11:35 +0100 Subject: [PATCH] fix: use unique artifact names --- .github/workflows/publish.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e4259f3..700b2ed 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,7 @@ jobs: HOMEBREW_GITHUB_PACKAGES_TOKEN: ${{ github.token }} HOMEBREW_GITHUB_PACKAGES_USER: ${{ github.actor }} 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" --artifact-pattern "bottles-*" - name: Push commits uses: Homebrew/actions/git-try-push@master diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7875b7b..e24840f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,5 +42,5 @@ jobs: if: always() && github.event_name == 'pull_request' uses: actions/upload-artifact@v4 with: - name: bottles + name: bottles-${{ strategy.job-index }} path: "*.bottle.*"