From 1ee1f69847a212230e26fc1e5b7882a5ff8b6c5e Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 5 Aug 2024 09:58:51 -0400 Subject: [PATCH] revert-upload actions/upload-artifact@v4 buggy on apple runners: https://github.com/actions/upload-artifact/issues/527 --- .github/workflows/ci.actions.yml | 4 +++- download-build-artifact/action.yml | 4 +++- upload-build-artifact/action.yml | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.actions.yml b/.github/workflows/ci.actions.yml index 5037e456..4b02a3fc 100644 --- a/.github/workflows/ci.actions.yml +++ b/.github/workflows/ci.actions.yml @@ -115,7 +115,9 @@ jobs: file: ${{ steps.dl.outputs.filename }} compression: ${{matrix.compression}} - - uses: actions/upload-artifact@v4 + # v4 is buggy on apple + # https://github.com/actions/upload-artifact/issues/527 + - uses: actions/upload-artifact@v3 with: path: ${{ steps.bottle.outputs.filename }} name: ${{ steps.bottle.outputs.name }} diff --git a/download-build-artifact/action.yml b/download-build-artifact/action.yml index 9e043751..cfdbf7a2 100644 --- a/download-build-artifact/action.yml +++ b/download-build-artifact/action.yml @@ -63,7 +63,9 @@ runs: id: prep shell: bash - - uses: actions/download-artifact@v4 + # upload-artifact@v4 is buggy on apple, and versions must match + # https://github.com/actions/upload-artifact/issues/527 + - uses: actions/download-artifact@v3 id: download with: name: ${{ steps.prep.outputs.artifact-name }} diff --git a/upload-build-artifact/action.yml b/upload-build-artifact/action.yml index 2833db9a..5d474dff 100644 --- a/upload-build-artifact/action.yml +++ b/upload-build-artifact/action.yml @@ -40,7 +40,9 @@ runs: id: tar shell: bash - - uses: actions/upload-artifact@v4 + # v4 is buggy on apple + # https://github.com/actions/upload-artifact/issues/527 + - uses: actions/upload-artifact@v3 with: path: ${{ steps.tar.outputs.path }} name: ${{ steps.tar.outputs.name }}