Skip to content

Commit

Permalink
Don't upload release assets if in workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecosta90 committed Nov 21, 2024
1 parent 262d2c7 commit 0696046
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 0696046

Please sign in to comment.