Skip to content

Commit 4d514a2

Browse files
committed
resolve actionlint msgs
1 parent a24c607 commit 4d514a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333

3434
- name: Get version
3535
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"
3737

3838
- uses: rickstaa/action-create-tag@v1
3939
id: tag_create
4040
with:
4141
tag: v${{ steps.get_version.outputs.version }}
4242

4343
- name: Create Release
44-
if: !steps.tag_create.outputs.tag_exists
44+
if: ${{ !steps.tag_create.outputs.tag_exists }}
4545
uses: actions/create-release@v1
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)