From 9ec0fa1a3cb198c32baa5aecf836db9acc21b948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eike=20Ha=C3=9F?= Date: Wed, 24 Jan 2024 18:09:27 +0100 Subject: [PATCH 1/2] split cargo release command --- .github/actions/publish/publish-rust/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/publish/publish-rust/action.yml b/.github/actions/publish/publish-rust/action.yml index 3143267414..015ec78e5d 100644 --- a/.github/actions/publish/publish-rust/action.yml +++ b/.github/actions/publish/publish-rust/action.yml @@ -29,4 +29,5 @@ runs: echo "dry-run: '${{ inputs.dry-run }}'" echo "version: '${{ inputs.version }}'" cargo login ${{ inputs.crates-token }} - cargo release --workspace --isolated --no-push --no-tag --verbose $(if [ "${{ inputs.dry-run }}" = "false" ]; then echo --execute --no-confirm; fi) ${{ inputs.version }} + cargo release version --verbose --execute --no-confirm ${{ inputs.version }} + cargo release publish --verbose $(if [ "${{ inputs.dry-run }}" = "false" ]; then echo --execute --no-confirm; fi) From 7dd8538d720958fd261a440bdac6079d82f42491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eike=20Ha=C3=9F?= Date: Wed, 24 Jan 2024 18:17:41 +0100 Subject: [PATCH 2/2] add config command --- .github/actions/publish/publish-rust/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/publish/publish-rust/action.yml b/.github/actions/publish/publish-rust/action.yml index 015ec78e5d..4e6f8bcadb 100644 --- a/.github/actions/publish/publish-rust/action.yml +++ b/.github/actions/publish/publish-rust/action.yml @@ -29,5 +29,6 @@ runs: echo "dry-run: '${{ inputs.dry-run }}'" echo "version: '${{ inputs.version }}'" cargo login ${{ inputs.crates-token }} + cargo release config cargo release version --verbose --execute --no-confirm ${{ inputs.version }} cargo release publish --verbose $(if [ "${{ inputs.dry-run }}" = "false" ]; then echo --execute --no-confirm; fi)