commit fb561a5116febc22890def50052205751cd4ce86 parent e31d96b3db3785bd5c102d6222e71559bc8031d2 Author: Eric Scouten <scouten@adobe.com> Date: Wed, 15 Jun 2022 07:58:52 -0700 Remove cargo edit from publish workflow (#42) Should save ~5 minutes. Diffstat:
| M | .github/workflows/publish.yml | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml @@ -67,11 +67,11 @@ jobs: with: toolchain: stable - - name: Install cargo-edit - run: cargo install cargo-edit - - name: Bump crate versions - run: cargo set-version --workspace ${{ steps.set-version.outputs.version }} + run: | + sed -i "s/^version = \"[^\"]*\"$/version = \"$VERSION\"/;" Cargo.toml + env: + VERSION: ${{ steps.set-version.outputs.version }} - name: Report differences for "prepare (release)" commit run: git diff @@ -93,7 +93,7 @@ jobs: tag: ${{ steps.set-version.outputs.version_tag }} token: ${{ secrets.GH_ADMIN_COMMIT_TOKEN }} - - name: Publish SDK crate + - name: Publish crate run: | cargo publish --token $CRATES_IO_SECRET -p c2pa env: