Skip to content

Commit 7f0269f

Browse files
committed
ci: fix yaml
1 parent 628782c commit 7f0269f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/rust.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
cargo clippy -- -Dwarnings
2424
2525
build-windows:
26-
if: github.ref_type == tag || startsWith(github.ref, 'refs/pull/')
26+
if: github.ref_type == 'tag' || startsWith(github.ref, 'refs/pull/')
2727
needs: lint
2828
runs-on: windows-latest
2929
name: Release build for Windows
@@ -41,7 +41,7 @@ jobs:
4141
path: target/release/awsbck.exe
4242

4343
build-macos:
44-
if: github.ref_type == tag || startsWith(github.ref, 'refs/pull/')
44+
if: github.ref_type == 'tag' || startsWith(github.ref, 'refs/pull/')
4545
needs: lint
4646
runs-on: macos-latest
4747
name: Release build for macOS
@@ -59,7 +59,7 @@ jobs:
5959
path: target/release/awsbck
6060

6161
build-linux:
62-
if: github.ref_type == tag || startsWith(github.ref, 'refs/pull/')
62+
if: github.ref_type == 'tag' || startsWith(github.ref, 'refs/pull/')
6363
needs: lint
6464
runs-on: ubuntu-latest
6565
name: Release build for linux x86_64
@@ -81,7 +81,7 @@ jobs:
8181
path: target/x86_64-unknown-linux-musl/release/awsbck
8282

8383
build-arm:
84-
if: github.ref_type == tag || startsWith(github.ref, 'refs/pull/')
84+
if: github.ref_type == 'tag' || startsWith(github.ref, 'refs/pull/')
8585
needs: lint
8686
name: Release builds for linux ARM
8787
runs-on: ubuntu-latest
@@ -107,7 +107,7 @@ jobs:
107107
path: target/${{ matrix.target }}/release/awsbck
108108

109109
build-docker:
110-
if: github.ref_type == tag
110+
if: github.ref_type == 'tag'
111111
needs: [build-linux, build-arm]
112112
name: Create docker container
113113
runs-on: ubuntu-latest
@@ -152,7 +152,7 @@ jobs:
152152
platforms: linux/amd64,linux/arm64,linux/arm/v7
153153

154154
make-release:
155-
if: github.ref_type == tag
155+
if: github.ref_type == 'tag'
156156
needs: [build-linux, build-arm, build-windows, build-macos]
157157
name: Create Github release
158158
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)