We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28add06 commit 2aa2f62Copy full SHA for 2aa2f62
.github/workflows/deploy.yml
@@ -1,4 +1,4 @@
1
-name: Publish to crate.io
+name: Publish to crates.io
2
3
on:
4
workflow_dispatch:
@@ -33,15 +33,17 @@ jobs:
33
34
- name: Get version
35
id: get_version
36
- run: echo "version=$(grep version Cargo.toml | head -n1 | cut -d '"' -f2)" >> "$GITHUB_OUTPUT"
+ run: |
37
+ version=$(grep version Cargo.toml | head -n1 | cut -d '"' -f2)
38
+ echo "version=$version" >> "$GITHUB_OUTPUT"
39
40
- uses: rickstaa/action-create-tag@v1
41
id: tag_create
42
with:
43
tag: v${{ steps.get_version.outputs.version }}
44
45
- name: Create Release
- if: ${{ !steps.tag_create.outputs.tag_exists }}
46
+ if: ${{ steps.tag_create.outputs.tag_exists != 'true' }}
47
uses: actions/create-release@v1
48
env:
49
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments