05862ae65c
Create a release pipeline that builds a zip file with everything to copy onto the CDN for delivery in the upcoming App Hub.
30 lines
625 B
YAML
30 lines
625 B
YAML
name: Main
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
Build:
|
|
strategy:
|
|
matrix:
|
|
app_name: [Calculator, Diceware, GPIO, GraphicsDemo, HelloWorld, SerialConsole]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: "Build"
|
|
uses: ./.github/actions/build-app
|
|
with:
|
|
app_name: ${{ matrix.app_name }}
|
|
Bundle:
|
|
runs-on: ubuntu-latest
|
|
needs: [Build]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: "Build"
|
|
uses: ./.github/actions/release-apps
|