Skip to content

Commit

Permalink
Bug fix for release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishamm committed Sep 5, 2024
1 parent 785440a commit 271e3ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ name: Upload prerelease assets

on:
release:
types: [prereleased]
types:
- published

jobs:
build:
if: "github.event.release.prerelease"
runs-on: ubuntu-22.04
steps:
# Download release assets
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ name: Upload release assets

on:
release:
types: [released]
types:
- published

jobs:
build:
if: "!github.event.release.prerelease"
runs-on: ubuntu-22.04
steps:
# Download release assets
Expand Down

0 comments on commit 271e3ad

Please sign in to comment.