File tree 2 files changed +14
-8
lines changed
2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 82
82
strategy :
83
83
matrix :
84
84
build :
85
- - folder-suffix : darwin_amd64
85
+ - artifact-suffix : macOS_64bit
86
+ folder-suffix : darwin_amd64
86
87
package-suffix : " macOS_64bit.tar.gz"
87
- - folder-suffix : darwin_arm64
88
+ - artifact-suffix : macOS_ARM64
89
+ folder-suffix : darwin_arm64
88
90
package-suffix : " macOS_ARM64.tar.gz"
89
91
90
92
steps :
@@ -173,11 +175,12 @@ jobs:
173
175
-C ../../ LICENSE.txt
174
176
echo "PACKAGE_FILENAME=$PACKAGE_FILENAME" >> $GITHUB_ENV
175
177
176
- - name : Upload artifact
178
+ - name : Replace artifact with notarized build
177
179
uses : actions/upload-artifact@v4
178
180
with :
179
181
if-no-files-found : error
180
- name : ${{ env.ARTIFACT_PREFIX }}notarized-${{ matrix.build.folder-suffix }}
182
+ name : ${{ env.ARTIFACT_PREFIX }}${{ matrix.build.artifact-suffix }}
183
+ overwrite : true
181
184
path : ${{ env.DIST_DIR }}/${{ env.PACKAGE_FILENAME }}
182
185
183
186
publish-nightly :
Original file line number Diff line number Diff line change 89
89
strategy :
90
90
matrix :
91
91
build :
92
- - folder-suffix : darwin_amd64
92
+ - artifact-suffix : macOS_64bit
93
+ folder-suffix : darwin_amd64
93
94
package-suffix : " macOS_64bit.tar.gz"
94
- - folder-suffix : darwin_arm64
95
+ - artifact-suffix : macOS_ARM64
96
+ folder-suffix : darwin_arm64
95
97
package-suffix : " macOS_ARM64.tar.gz"
96
98
97
99
steps :
@@ -179,11 +181,12 @@ jobs:
179
181
-C "${{ env.BUILD_FOLDER }}/" "${{ env.PROJECT_NAME }}" \
180
182
-C ../../ LICENSE.txt
181
183
182
- - name : Upload artifact
184
+ - name : Replace artifact with notarized build
183
185
uses : actions/upload-artifact@v4
184
186
with :
185
187
if-no-files-found : error
186
- name : ${{ env.ARTIFACT_PREFIX }}notarized-${{ matrix.build.folder-suffix }}
188
+ name : ${{ env.ARTIFACT_PREFIX }}${{ matrix.build.artifact-suffix }}
189
+ overwrite : true
187
190
path : ${{ env.DIST_DIR }}/${{ env.PACKAGE_FILENAME }}
188
191
189
192
create-release :
You can’t perform that action at this time.
0 commit comments