File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,15 @@ jobs:
33
33
34
34
- name : Get version
35
35
id : get_version
36
- run : echo "version=$(cat Cargo.toml | grep version | head -n1 | cut -d '"' -f2)" >> "$GITHUB_OUTPUT"
36
+ run : echo "version=$(grep version Cargo.toml | head -n1 | cut -d '"' -f2)" >> "$GITHUB_OUTPUT"
37
37
38
38
- uses : rickstaa/action-create-tag@v1
39
39
id : tag_create
40
40
with :
41
41
tag : v${{ steps.get_version.outputs.version }}
42
42
43
43
- name : Create Release
44
- if : !steps.tag_create.outputs.tag_exists
44
+ if : ${{ !steps.tag_create.outputs.tag_exists }}
45
45
uses : actions/create-release@v1
46
46
env :
47
47
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 18
18
- name : Install clippy
19
19
run : rustup component add clippy
20
20
- name : Check linting
21
- cargo clippy --all-targets --all-features -- -D warnings
21
+ run : cargo clippy --all-targets --all-features -- -D warnings
22
22
23
23
- name : Install rustfmt
24
24
run : rustup component add rustfmt
You can’t perform that action at this time.
0 commit comments