Skip to content

Commit 24c4961

Browse files
committed
flip conditinals
1 parent 44f351d commit 24c4961

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/build-clang-doxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: Brent Rubell for Adafruit Industries, 2023
1+
# SPDX-FileCopyrightText: Brent Rubell for Adafruit Industries, 2023-2025
22
#
33
# SPDX-License-Identifier: MIT
44
name: WipperSnapper Build CI

.github/workflows/release-caller.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
secrets:
1010
GH_REPO_TOKEN:
1111
required: true
12-
1312
jobs:
1413
check-branch:
1514
runs-on: ubuntu-latest
@@ -19,12 +18,12 @@ jobs:
1918
- id: check
2019
run: |
2120
if [[ $GITHUB_REF == *"offline-mode"* ]]; then
22-
echo "should_run=true" >> $GITHUB_OUTPUT
23-
else
2421
echo "should_run=false" >> $GITHUB_OUTPUT
22+
else
23+
echo "should_run=true" >> $GITHUB_OUTPUT
2524
fi
2625
shell: bash
27-
26+
2827
call-workflow-build:
2928
needs: check-branch
3029
if: needs.check-branch.outputs.should_run == 'true'
@@ -34,5 +33,5 @@ jobs:
3433

3534
call-workflow-release:
3635
needs: [check-branch, call-workflow-build]
37-
if: needs.check-branch.outputs.should_run == 'true' && github.event_name == 'release' && startsWith(github.ref, 'refs/tags/')
36+
if: needs.check-branch.outputs.should_run == 'true'
3837
uses: adafruit/Adafruit_Wippersnapper_Arduino/.github/workflows/release-callee.yml@main

0 commit comments

Comments
 (0)