From c33aff15965fe44b75a02cf1150b7c5fe648a5a9 Mon Sep 17 00:00:00 2001 From: Brooks Newberry Date: Wed, 24 Jul 2024 09:26:53 -0700 Subject: [PATCH] fix matrix upload script (#49) Signed-off-by: Brooks Newberry --- .github/workflows/publish.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0227023..c52579e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,6 +21,11 @@ jobs: arch: - "amd64" - "srcrpm" + include: + - arch: "srcrpm" + upload-script: "upload-srcrpm-repo" + - arch: "amd64" + upload-script: "upload-repo" steps: - name: Checkout uses: actions/checkout@v4 @@ -99,7 +104,7 @@ jobs: -e TESTING_AWS_ACCESS_KEY_ID="$TESTING_AWS_ACCESS_KEY_ID" \ -e TESTING_AWS_SECRET_ACCESS_KEY="$TESTING_AWS_SECRET_ACCESS_KEY" \ centos:7 \ - rpm/${{ matrix.os }}/scripts/upload-repo + rpm/${{ matrix.os }}/scripts/${{ matrix.upload-script }} - name: Checksum run: | if [ "${{ matrix.arch }}" = "srcrpm" ]; then