Skip to content

Commit

Permalink
Update release for offline mode ci
Browse files Browse the repository at this point in the history
  • Loading branch information
brentru committed Feb 13, 2025
1 parent 0542219 commit 7bf0896
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release-caller-offline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
# SPDX-License-Identifier: MIT
name: WipperSnapper Release Workflow for "Offline Mode" Alpha Feature
on:
release:
types: [published]
push:
branches:
- test-offline-release
secrets:
GH_REPO_TOKEN:
required: true
Expand All @@ -13,7 +14,7 @@ jobs:
build-esp32sx:
name: 🏗️ESP32-Sx
runs-on: ubuntu-latest
if: github.event.release.target_commitish == 'offline-mode' # Runs only if release is from offline-mode
if: github.event.release.target_commitish == 'test-offline-release' # Runs only if release is from test-offline-release
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -117,7 +118,7 @@ jobs:
build-rp2040:
name: 🏗️RP2040, RP2350
runs-on: ubuntu-latest
if: github.event.release.target_commitish == 'offline-mode' # Runs only if release is from offline-mode
if: github.event.release.target_commitish == 'test-offline-release' # Runs only if release is from test-offline-release
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -189,7 +190,7 @@ jobs:
merge-job-build-files:
name: Merge Artifacts for build-files
runs-on: ubuntu-latest
if: github.event.release.target_commitish == 'offline-mode' # Runs only if release is from offline-mode
if: github.event.release.target_commitish == 'test-offline-release' # Runs only if release is from test-offline-release
needs: [build-esp32sx, build-rp2040]
steps:
- name: Merge Artifacts from Builds
Expand All @@ -202,7 +203,7 @@ jobs:
clang_and_doxy:
name: 🔎Clang & Doxygen
runs-on: ubuntu-latest
if: github.event.release.target_commitish == 'offline-mode' # Runs only if release is from offline-mode
if: github.event.release.target_commitish == 'test-offline-release' # Runs only if release is from test-offline-release
needs:
[
build-esp32sx,
Expand All @@ -225,7 +226,7 @@ jobs:
release-wippersnapper:
name: Release WipperSnapper
runs-on: ubuntu-latest
if: github.event.release.target_commitish == 'offline-mode' # Runs only if release is from offline-mode
if: github.event.release.target_commitish == 'test-offline-release' # Runs only if release is from test-offline-release
needs: merge-job-build-files
steps:
- name: Download build artifacts from build-platform steps
Expand Down

0 comments on commit 7bf0896

Please sign in to comment.