Skip to content

Commit baf8800

Browse files
committed
fix invalid expression syntax
1 parent 5718e86 commit baf8800

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
build:
2525
runs-on: ubuntu-latest
2626
needs: filters
27-
if: needs.filters.outputs.found_main_changes
27+
if: ${{ needs.filters.outputs.found_main_changes }}
2828

2929
steps:
3030
- uses: actions/checkout@v2

.github/workflows/octoprint-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
release:
2828
runs-on: ubuntu-latest
2929
needs: filters
30-
if: github.event_name == 'repository_dispatch' || needs.filters.outputs.found_main_changes == 'true'
30+
if: ${{ github.event_name == 'repository_dispatch' || needs.filters.outputs.found_main_changes == 'true' }}
3131
strategy:
3232
matrix:
3333
tags: ['latest','%X%', '%X.Y%', '%X.Y.Z%']
@@ -70,7 +70,7 @@ jobs:
7070
id: build_deploy
7171
#if matrix tag is latest AND tag_name is NOT equal to latest-octoprint don't build
7272
# this allows rebuilds of older versions without changing 'latest' to an old release
73-
if: !(env.tag_name == 'latest' && ( steps.latest-octprint.outputs.release != env.tag_name ))
73+
if: ${{!(env.tag_name == 'latest' && ( steps.latest-octprint.outputs.release != env.tag_name ))}}
7474
run: |
7575
docker buildx build --push \
7676
--platform linux/arm64,linux/amd64,linux/arm/v7 \

0 commit comments

Comments
 (0)