Skip to content

Commit

Permalink
Always publish all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Jun 28, 2024
1 parent 0d0f510 commit 45f2351
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/publish-rust-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ on:
- Initial Release
- Redeploy
- Dry Run
packages:
description: "Which packages to publish"
required: true
default: "bitwarden bitwarden-api-api bitwarden-api-identity bitwarden-cli bitwarden-core bitwarden-crypto bitwarden-exporters bitwarden-fido bitwarden-generators bitwarden-send bitwarden-vault"
type: string

defaults:
run:
Expand All @@ -43,7 +38,7 @@ jobs:
fi
publish:
name: Publish ${{ github.event.inputs.packages }}
name: Publish
runs-on: ubuntu-latest
needs:
- setup
Expand Down Expand Up @@ -81,7 +76,7 @@ jobs:
with:
token: "${{ secrets.GITHUB_TOKEN }}"
initial-status: "in_progress"
environment: "Bitwarden SDK to crates.io: ${{ github.event.inputs.packages }}"
environment: "Bitwarden SDK"
description: "Deployment from branch ${{ github.ref_name }}"
task: release

Expand All @@ -91,9 +86,7 @@ jobs:
PUBLISH_GRACE_SLEEP: 10
PACKAGES_PUBLISH: ${{ github.event.inputs.release_type }}
CARGO_REGISTRY_TOKEN: ${{ steps.retrieve-secrets.outputs.cratesio-api-token }}
run: |
PACKAGES="-p ${PACKAGES_PUBLISH// / -p }"
cargo-release release publish $PACKAGES --execute --no-confirm
run: cargo-release release publish --exclude bw --exclude bws --execute --no-confirm

- name: Update deployment status to Success
if: ${{ github.event.inputs.release_type != 'Dry Run' && success() }}
Expand Down

0 comments on commit 45f2351

Please sign in to comment.