Skip to content

Commit

Permalink
Don't upload release assets if in workflow_dispatch (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecosta90 authored Nov 21, 2024
1 parent 262d2c7 commit 42b228f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 42b228f

Please sign in to comment.