Skip to content

Commit 64e6148

Browse files
authored
Merge pull request #12 from passageidentity/fix-ci-yaml
ci: fixes yaml syntax
2 parents 2551185 + 4d514a2 commit 64e6148

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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 }}

.github/workflows/on-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install clippy
1919
run: rustup component add clippy
2020
- name: Check linting
21-
cargo clippy --all-targets --all-features -- -D warnings
21+
run: cargo clippy --all-targets --all-features -- -D warnings
2222

2323
- name: Install rustfmt
2424
run: rustup component add rustfmt

0 commit comments

Comments
 (0)