Skip to content

Commit

Permalink
fix: need version in package step
Browse files Browse the repository at this point in the history
  • Loading branch information
filoozom committed Jan 26, 2024
1 parent f1e9342 commit a9a4727
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ jobs:
package:
runs-on: ubuntu-latest

if: always() && needs.build.result != 'failed' && (github.event_name != 'schedule' || needs.version.outputs.isNew == 'true')
needs: build
if: always() && needs.build.result == 'success' && (github.event_name != 'schedule' || needs.version.outputs.isNew == 'true')
needs: [version, build]
env:
VERSION: ${{ inputs.version || needs.version.outputs.version }}

Expand Down

0 comments on commit a9a4727

Please sign in to comment.