Skip to content

Commit 235978e

Browse files
committed
Remove build artifacts and require release asset upload to succeed
1 parent de9a496 commit 235978e

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

.github/workflows/package-release.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -80,18 +80,8 @@ jobs:
8080
- name: "Copy signature file"
8181
run: cp ${RELEASE_ASSETS}/${{ env.PACKAGE_FILE }}.sig .
8282

83-
- name: "Upload artifacts"
84-
uses: actions/upload-artifact@v4
85-
with:
86-
name: ${{ env.PACKAGE_FILE }}
87-
path: |
88-
${{ env.PACKAGE_FILE }}
89-
${{ env.PACKAGE_FILE }}.sig
90-
retention-days: 3
91-
9283
- name: "Upload release artifacts"
9384
run: gh release upload ${{ inputs.version }} ${{ env.PACKAGE_FILE }} ${{ env.PACKAGE_FILE }}.sig
94-
continue-on-error: true
9585

9686
build-windows:
9787
name: "Create Windows package"
@@ -193,24 +183,8 @@ jobs:
193183
- name: "Copy signature file"
194184
run: cp ${RELEASE_ASSETS}/php_mongodb.dll.sig .
195185

196-
- name: "Upload DLL and PDB files as build artifacts"
197-
uses: actions/upload-artifact@v4
198-
with:
199-
name: php_mongodb-${{ inputs.version }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.arch }}
200-
path: |
201-
php_mongodb.dll
202-
php_mongodb.dll.sig
203-
php_mongodb.pdb
204-
CREDITS
205-
CONTRIBUTING.md
206-
LICENSE
207-
README.md
208-
THIRD_PARTY_NOTICES
209-
retention-days: 3
210-
211186
- name: "Create and upload release artifact"
212187
run: |
213188
ARCHIVE=php_mongodb-${{ inputs.version }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.arch }}.zip
214189
zip ${ARCHIVE} php_mongodb.dll php_mongodb.dll.sig php_mongodb.pdb CREDITS CONTRIBUTING.md LICENSE README.md THIRD_PARTY_NOTICES
215190
gh release upload ${{ inputs.version }} ${ARCHIVE}
216-
continue-on-error: true

0 commit comments

Comments
 (0)