From 6c9c54dd899f750cc3db607f1233716690ddf262 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Fri, 3 Apr 2026 18:33:11 +0900 Subject: [PATCH] workflows: Unify downloading built macOS packages Signed-off-by: Hiroshi Hatake --- .github/workflows/call-build-macos.yaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/call-build-macos.yaml b/.github/workflows/call-build-macos.yaml index 10d1dbab118..cd0592c2834 100644 --- a/.github/workflows/call-build-macos.yaml +++ b/.github/workflows/call-build-macos.yaml @@ -108,7 +108,7 @@ jobs: - name: Upload build packages uses: actions/upload-artifact@v7 with: - name: macos-packages on ${{ matrix.config.runner }} + name: macos-packages-${{ matrix.config.runner }} path: | build/fluent-bit-*-apple* build/fluent-bit-*-intel* @@ -124,13 +124,6 @@ jobs: - call-build-macos-package permissions: contents: read - strategy: - fail-fast: false - matrix: - config: - - name: "Apple Silicon macOS package" - os: macos-14 - steps: - name: Checkout repository uses: actions/checkout@v6 @@ -138,12 +131,17 @@ jobs: ref: ${{ inputs.ref }} - name: Download all artefacts - continue-on-error: true uses: actions/download-artifact@v8 with: - name: macos-packages on ${{ matrix.config.os }} + pattern: macos-packages-* + merge-multiple: true path: artifacts/ + - name: Validate downloaded artifacts + run: | + ls -lR artifacts/ + shell: bash + - name: Push MacOS packages to S3 if: inputs.environment == 'staging' uses: ./.github/actions/sync-to-bucket