Skip to content

Commit 55a3df2

Browse files
committed
publish is independent from release-pr
1 parent 0140e88 commit 55a3df2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/rust-release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,8 @@ jobs:
136136
publish:
137137
name: Publish Release
138138
runs-on: depot-ubuntu-latest
139-
needs: [check-release-status, release-pr]
140-
# Allow release-pr to be skipped (for prereleases)
139+
needs: check-release-status
141140
if: |
142-
always() &&
143-
!failure() &&
144-
!cancelled() &&
145141
github.ref == 'refs/heads/main' &&
146142
((github.event_name == 'workflow_dispatch' && inputs.prerelease) ||
147143
(github.event_name == 'push' && needs.check-release-status.outputs.should_release == 'true'))

0 commit comments

Comments
 (0)