From 06960468b424a6d96dbf2d9c5e3eab52fabaf333 Mon Sep 17 00:00:00 2001 From: filipecosta90 Date: Thu, 21 Nov 2024 16:44:30 +0000 Subject: [PATCH] Don't upload release assets if in workflow_dispatch --- .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