Merge pull request #9908 from id/ci-dont-publish-packages-on-scheduled-builds

ci: do not upload packages to s3 and packagecloud on schedule event
This commit is contained in:
Ivan Dyachkov 2023-02-09 13:27:25 +01:00 committed by GitHub
commit 90ba82a487
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -308,7 +308,7 @@ jobs:
publish_artifacts:
runs-on: ubuntu-20.04
needs: [prepare, mac, linux]
if: ${{ needs.prepare.outputs.IS_EXACT_TAG }}
if: needs.prepare.outputs.IS_EXACT_TAG && github.event_name != 'schedule'
strategy:
fail-fast: false
matrix:
@ -368,7 +368,7 @@ jobs:
push "debian/buster" "packages/$PROFILE/$PROFILE-$VERSION-debian10-amd64.deb"
push "debian/buster" "packages/$PROFILE/$PROFILE-$VERSION-debian10-arm64.deb"
push "debian/bullseye" "packages/$PROFILE/$PROFILE-$VERSION-debian11-amd64.deb"
push "debian/bullseye" packages/$PROFILE/$PROFILE-$VERSION-debian11-arm64.deb
push "debian/bullseye" "packages/$PROFILE/$PROFILE-$VERSION-debian11-arm64.deb"
push "ubuntu/bionic" "packages/$PROFILE/$PROFILE-$VERSION-ubuntu18.04-amd64.deb"
push "ubuntu/bionic" "packages/$PROFILE/$PROFILE-$VERSION-ubuntu18.04-arm64.deb"
push "ubuntu/focal" "packages/$PROFILE/$PROFILE-$VERSION-ubuntu20.04-amd64.deb"