Skip to content

Commit da2d602

Browse files
committed
fix(ci): Fix outdated syntax
1 parent 6bd8ee9 commit da2d602

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build_and_release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515

1616
jobs:
1717
release_cli:
18-
if: github.event.pull_request.head.ref !~ 'dependabot/.*'
18+
if: "!startsWith(github.event.pull_request.head.ref, 'dependabot')"
1919
strategy:
2020
matrix:
2121
platform:
@@ -80,7 +80,7 @@ jobs:
8080
# TODO: Change author to houseabsolute if/when PR https://github.com/houseabsolute/actions-rust-release/pull/2
8181
# is merged. Don't forget below one too
8282
- name: Publish artifacts and release
83-
uses: houseabsolute/actions-rust-release@v3
83+
uses: houseabsolute/actions-rust-release@v0
8484
with:
8585
working-directory: .
8686
executable-name: ${{ matrix.platform.cli_bin_no_ext || matrix.platform.cli_bin }}
@@ -92,7 +92,7 @@ jobs:
9292
Justfile
9393
9494
# release_gui:
95-
# if: github.event.pull_request.head.ref !~ 'dependabot/.*'
95+
# if: "!startsWith(github.event.pull_request.head.ref, 'dependabot')"
9696
# # Copy of the above strategy
9797
# strategy:
9898
# matrix:
@@ -147,7 +147,7 @@ jobs:
147147
# args: "--locked --release"
148148
#
149149
# - name: Publish artifacts and release
150-
# uses: houseabsolute/actions-rust-release@v3
150+
# uses: houseabsolute/actions-rust-release@v0
151151
# with:
152152
# working-directory: ./rustbee-gui
153153
# executable-name: ${{ matrix.platform.gui_bin_no_ext || matrix.platform.gui_bin }}
@@ -159,7 +159,7 @@ jobs:
159159
# ../Justfile
160160

161161
release_c_lib:
162-
if: github.event.pull_request.head.ref !~ 'dependabot/.*'
162+
if: "!startsWith(github.event.pull_request.head.ref, 'dependabot')"
163163
# Copy of the above strategy
164164
strategy:
165165
matrix:

0 commit comments

Comments
 (0)