We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d0f63f commit 915f8c0Copy full SHA for 915f8c0
.github/workflows/release.yml
@@ -80,11 +80,6 @@ jobs:
80
with:
81
persist-credentials: true
82
83
- - name: Publish to crates.io
84
- run: cargo publish
85
- env:
86
- CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
87
-
88
- uses: taiki-e/install-action@v2
89
90
tool: cargo-edit
@@ -103,10 +98,15 @@ jobs:
103
98
- name: Tag the version
104
99
env:
105
100
GIT_TAG: ${{ inputs.publish-tag }}
106
- run: |
101
+ run: |+
107
102
git tag "${GIT_TAG}"
108
git push origin "${GIT_TAG}"
109
+ - name: Publish to crates.io
+ run: cargo publish
+ env:
+ CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
+
110
- name: Create github release
111
uses: taiki-e/create-gh-release-action@v1
112
0 commit comments