From 83e26ebb5eedc4d0f52468e7f7a96a7db935cfcd Mon Sep 17 00:00:00 2001 From: Marco Colombo Date: Fri, 13 Sep 2024 10:25:56 +0200 Subject: [PATCH] Fix MacOS release --- .github/workflows/release-go-task.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-go-task.yml b/.github/workflows/release-go-task.yml index 6a277ba8..85c35bc0 100644 --- a/.github/workflows/release-go-task.yml +++ b/.github/workflows/release-go-task.yml @@ -104,7 +104,7 @@ jobs: # 1. Repackage the signed binary replaced in place by Gon (ignoring the output zip file) # 2. Recalculate package checksum and replace it in the nnnnnn-checksums.txt file run: | - # GitHub's upload/download-artifact@v2 actions don't preserve file permissions, + # GitHub's upload/download-artifact@v4 actions don't preserve file permissions, # so we need to add execution permission back until the action is made to do this. chmod +x ${{ env.DIST_DIR }}/${{ env.PROJECT_NAME }}_osx_darwin_amd64/${{ env.PROJECT_NAME }} TAG="${GITHUB_REF/refs\/tags\//}" @@ -122,6 +122,7 @@ jobs: uses: actions/upload-artifact@v4 with: if-no-files-found: error + overwrite: true name: ${{ env.ARTIFACT_NAME }} path: ${{ env.DIST_DIR }}