Skip to content

Commit 6eec6fb

Browse files
authored
Merge pull request #151 from per1234/efficient-release-artifact-replacement
Use more efficient release artifact replacement approach
2 parents 2a92970 + d0fcc98 commit 6eec6fb

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release-go-crosscompile-task.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,6 @@ jobs:
120120
name: ${{ env.ARTIFACT_PREFIX }}${{ matrix.build.artifact-suffix }}
121121
path: ${{ env.DIST_DIR }}
122122

123-
- name: Remove non-notarized artifact
124-
uses: geekyeggo/delete-artifact@v5
125-
with:
126-
name: ${{ env.ARTIFACT_PREFIX }}${{ matrix.build.artifact-suffix }}
127-
128123
- name: Import Code-Signing Certificates
129124
env:
130125
KEYCHAIN: "sign.keychain"
@@ -190,11 +185,12 @@ jobs:
190185
chmod +x "${{ env.BUILD_FOLDER }}/${{ env.PROJECT_NAME }}"
191186
tar -czvf "${{ env.PACKAGE_FILENAME }}" "${{ env.BUILD_FOLDER }}/"
192187
193-
- name: Upload notarized artifact
188+
- name: Replace artifact with notarized build
194189
uses: actions/upload-artifact@v4
195190
with:
196191
if-no-files-found: error
197192
name: ${{ env.ARTIFACT_PREFIX }}${{ matrix.build.artifact-suffix }}
193+
overwrite: true
198194
path: ${{ env.DIST_DIR }}/${{ env.PACKAGE_FILENAME }}
199195

200196
create-release:

0 commit comments

Comments
 (0)