From d8e7507e4130d52a9d1496ae2f459226e0e5ed1c Mon Sep 17 00:00:00 2001 From: Akash Chandra Date: Wed, 6 Nov 2024 22:13:59 +0530 Subject: [PATCH] build: use matrix.os use matrix.os - cache key - upload artifacts --- .github/workflows/mac-artifact.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mac-artifact.yml b/.github/workflows/mac-artifact.yml index 4918fdda..2572b1ef 100644 --- a/.github/workflows/mac-artifact.yml +++ b/.github/workflows/mac-artifact.yml @@ -74,7 +74,7 @@ jobs: with: path: | ${{ steps.working-dir.outputs.value }}/build/bin - key: ${{ env.cache-name }}-${{ env.cache-index }}-${{ runner.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.release }}-${{ env.PYTHON_VERSION }}-${{ steps.tag.outputs.tag }} + key: ${{ env.cache-name }}-${{ env.cache-index }}-${{ matrix.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.release }}-${{ env.PYTHON_VERSION }}-${{ steps.tag.outputs.tag }} - name: Pipenv setup if: steps.cache-asadm-asinfo.outputs.cache-hit != 'true' working-directory: ${{ steps.working-dir.outputs.value }} @@ -102,6 +102,6 @@ jobs: tar -C build/bin/ -cvf asadm.tar asadm - uses: actions/upload-artifact@v4 with: - name: ${{ steps.system-info.outputs.platform }}-${{ runner.arch }}-${{ runner.os }}-${{ steps.system-info.outputs.release }}-asadm + name: ${{ steps.system-info.outputs.platform }}-${{ runner.arch }}-${{ matrix.os }}-${{ steps.system-info.outputs.release }}-asadm path: ${{ steps.working-dir.outputs.value }}/asadm.tar if-no-files-found: error