Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 1 addition & 19 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,5 @@ jobs:

upgrade-pack:
name: Build Upgrade Pack
runs-on: [ubuntu-latest]
container: ghcr.io/philips-software/amp-devcontainer-cpp:v6.0.2@sha256:36afaaa5ba4bc4e9bb471012db9733c26a210e315ddb33600f73bb9532b02a25 # 6.0.2
needs: Build
steps:
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
name: HostInstall
- run: tar -zxvf Postmaster-*-Linux.tar.gz
- run: mkdir install
- run: mv Postmaster-*-Linux/* install/
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
name: postmaster
- run: tar -zxvf Postmaster-*-Generic-ELF.tar.gz
- run: cp -r Postmaster-*-Generic-ELF/* install/
- run: install/bin/postmaster.upgrade_pack_builder --app=install/bin/postmaster.postmaster_stm32f407.hex --output=Postmaster-0.3.1.upg # x-release-please-version
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: UpgradePack
path: Postmaster-0.3.1.upg # x-release-please-version
uses: ./.github/workflows/wc-upgrade-pack.yml
5 changes: 5 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ jobs:
target: ${{ matrix.target }}
configuration: ${{ matrix.configuration }}

upgrade-pack:
name: Build Upgrade Pack
needs: [build]
uses: ./.github/workflows/wc-upgrade-pack.yml

apply-release-notes-template:
name: 📝 Apply Release Template
runs-on: ubuntu-latest
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/wc-upgrade-pack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Continuous Integration

on:
workflow_call:

permissions: {}

jobs:
upgrade-pack:
name: Build Upgrade Pack
runs-on: [ubuntu-latest]
container: ghcr.io/philips-software/amp-devcontainer-cpp:v6.0.2@sha256:36afaaa5ba4bc4e9bb471012db9733c26a210e315ddb33600f73bb9532b02a25 # 6.0.2
steps:
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
name: HostInstall
- run: tar -zxvf Postmaster-*-Linux.tar.gz
- run: mkdir install
- run: mv Postmaster-*-Linux/* install/
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
name: postmaster
- run: tar -zxvf Postmaster-*-Generic-ELF.tar.gz
- run: cp -r Postmaster-*-Generic-ELF/* install/
- run: install/bin/postmaster.upgrade_pack_builder --app=install/bin/postmaster.postmaster_stm32f407.hex --output=Postmaster-0.3.1.upg # x-release-please-version
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: UpgradePack
path: Postmaster-0.3.1.upg # x-release-please-version