Skip to content

Commit

Permalink
ci: only package if crate published
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Apr 22, 2024
1 parent 8e2c41a commit 45d17d3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ jobs:
packaging:
name: packaging-${{ matrix.platform.target }}
runs-on: ${{ matrix.platform.os }}
needs: release-please
if: needs.release-please.outputs.created
needs:
- release-please
- publish
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -235,6 +236,6 @@ jobs:
if: matrix.toolchain == 'stable'
with:
file_glob: true
file: ${{ matrix.platform.name }}
tag: ${{ needs.release-please.outputs.tag_name }}
file: ${{ matrix.platform.name }}
overwrite: true

0 comments on commit 45d17d3

Please sign in to comment.