Skip to content

Commit 915f8c0

Browse files
Jayllyzanonrig
authored andcommitted
fix: publish after bump of the version
1 parent 5d0f63f commit 915f8c0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,6 @@ jobs:
8080
with:
8181
persist-credentials: true
8282

83-
- name: Publish to crates.io
84-
run: cargo publish
85-
env:
86-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
87-
8883
- uses: taiki-e/install-action@v2
8984
with:
9085
tool: cargo-edit
@@ -103,10 +98,15 @@ jobs:
10398
- name: Tag the version
10499
env:
105100
GIT_TAG: ${{ inputs.publish-tag }}
106-
run: |
101+
run: |+
107102
git tag "${GIT_TAG}"
108103
git push origin "${GIT_TAG}"
109104
105+
- name: Publish to crates.io
106+
run: cargo publish
107+
env:
108+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
109+
110110
- name: Create github release
111111
uses: taiki-e/create-gh-release-action@v1
112112
with:

0 commit comments

Comments
 (0)