From 42b228f46c4614c435edda36a0442c05deee75cf Mon Sep 17 00:00:00 2001 From: "Filipe Oliveira (Personal)" Date: Thu, 21 Nov 2024 17:22:55 +0000 Subject: [PATCH] Don't upload release assets if in workflow_dispatch (#280) --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 502a7f1..8d19618 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -111,6 +111,8 @@ jobs: path: | *.deb - name: Upload as release assets + # we don't upload on workflow dispatch + if: github.event_name == 'release' uses: softprops/action-gh-release@v1 with: files: | @@ -145,7 +147,6 @@ jobs: cd binary-${{ env.BUILD_ARCH }}-${{ env.ARCH }} && apt install --yes ./*.deb publish-to-apt: - if: github.event.release.prerelease == false env: DEB_S3_VERSION: "0.11.3" runs-on: ubuntu-latest