@@ -232,12 +232,13 @@ jobs:
232232 echo $(sh $GITHUB_WORKSPACE/scripts/upload_services/${UPLOAD_SERVICE}.sh $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }}.${{ matrix.dist.arch }}.deb)
233233 echo "======no operation for you can see link in the log console====="
234234 - name : Artifact Upload
235- uses : actions/upload-artifact@v3
235+ uses : actions/upload-artifact@v4
236236 with :
237237 name : Linux-distribution-artifact
238238 path : |
239239 ${{ github.workspace }}/build/${{ env.PRODUCT }}-*-${{ env.RELEASE }}.${{ matrix.dist.name }}.${{ matrix.dist.arch }}.deb
240240 ${{ github.workspace }}/build/${{ env.PRODUCT }}-*-${{ env.RELEASE }}.${{ matrix.dist.name }}.${{ matrix.dist.arch }}.deb.sha256sum
241+ overwrite : true
241242
242243 rpm-pack :
243244 name : Build rpm on ${{ matrix.dist.name }} ${{ matrix.dist.arch }}
@@ -339,20 +340,23 @@ jobs:
339340 echo "======no operation for you can see link in the log console====="
340341 - name : Artifact Upload
341342 if : matrix.dist.os == 'fedora'
342- uses : actions/upload-artifact@v3
343+ uses : actions/upload-artifact@v4
343344 with :
344345 name : Linux-distribution-artifact
345346 path : |
346347 ${{ github.workspace }}/build/
348+ overwrite : true
347349
348350 - name : Artifact Upload
349351 if : matrix.dist.os == 'opensuse-leap'
350- uses : actions/upload-artifact@v3
352+ uses : actions/upload-artifact@v4
351353 with :
352354 name : Linux-distribution-artifact
353355 path : |
354356 ${{ github.workspace }}/build/${{ env.PRODUCT }}-*-lp${{ matrix.dist.symbol }}.${{ matrix.dist.arch }}.rpm
355357 ${{ github.workspace }}/build/${{ env.PRODUCT }}-*-lp${{ matrix.dist.symbol }}.${{ matrix.dist.arch }}.rpm.sha256sum
358+ overwrite : true
359+
356360 appimage-pack :
357361 name : Build appimage on ${{ matrix.config.name }}
358362 runs-on : ubuntu-22.04
@@ -481,12 +485,13 @@ jobs:
481485 echo $(sh $GITHUB_WORKSPACE/scripts/upload_services/${UPLOAD_SERVICE}.sh $GITHUB_WORKSPACE/Flameshot-${VERSION}.x86_64.AppImage)
482486 echo "======no operation for you can see link in the log console====="
483487 - name : Artifact Upload
484- uses : actions/upload-artifact@v3
488+ uses : actions/upload-artifact@v4
485489 with :
486490 name : Linux-distribution-artifact
487491 path : |
488492 ${{ github.workspace }}/Flameshot-*.x86_64.AppImage
489493 ${{ github.workspace }}/Flameshot-*.x86_64.AppImage.sha256sum
494+ overwrite : true
490495
491496 flatpak-pack :
492497 name : Build flatpak on ubuntu-20.04
@@ -547,12 +552,13 @@ jobs:
547552 echo $(sh $GITHUB_WORKSPACE/scripts/upload_services/${UPLOAD_SERVICE}.sh $GITHUB_WORKSPACE/org.flameshot.Flameshot-${VERSION}.x86_64.flatpak)
548553 echo "======no operation for you can see link in the log console====="
549554 - name : Artifact Upload
550- uses : actions/upload-artifact@v3
555+ uses : actions/upload-artifact@v4
551556 with :
552557 name : Linux-distribution-artifact
553558 path : |
554559 ${{ github.workspace }}/org.flameshot.Flameshot-*.x86_64.flatpak
555560 ${{ github.workspace }}/org.flameshot.Flameshot-*.x86_64.flatpak.sha256sum
561+ overwrite : true
556562
557563 snap-pack :
558564 name : Build snap on ubuntu-20.04
@@ -604,9 +610,10 @@ jobs:
604610 echo $(sh $GITHUB_WORKSPACE/scripts/upload_services/${UPLOAD_SERVICE}.sh $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.amd64.snap)
605611 echo "======no operation for you can see link in the log console====="
606612 - name : Artifact Upload
607- uses : actions/upload-artifact@v3
613+ uses : actions/upload-artifact@v4
608614 with :
609615 name : Linux-distribution-artifact
610616 path : |
611617 ${{ github.workspace }}/build/${{ env.PRODUCT }}-*-${{ env.RELEASE }}.amd64.snap
612618 ${{ github.workspace }}/build/${{ env.PRODUCT }}-*-${{ env.RELEASE }}.amd64.snap.sha256sum
619+ overwrite : true
0 commit comments