Update workflows
This commit is contained in:
@@ -9,51 +9,21 @@ on:
|
|||||||
permissions: read-all
|
permissions: read-all
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Calculator:
|
Build:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
app_name: [Calculator, Diceware, GPIO, GraphicsDemo, HelloWorld, SerialConsole]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: "Build"
|
- name: "Build"
|
||||||
uses: ./.github/actions/build-app
|
uses: ./.github/actions/build-app
|
||||||
with:
|
with:
|
||||||
app_name: Calculator
|
app_name: ${{ matrix.app_name }}
|
||||||
Diceware:
|
Bundle:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: [Build]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: "Build"
|
- name: "Build"
|
||||||
uses: ./.github/actions/build-app
|
uses: ./.github/actions/release-apps
|
||||||
with:
|
|
||||||
app_name: Diceware
|
|
||||||
GPIO:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: "Build"
|
|
||||||
uses: ./.github/actions/build-app
|
|
||||||
with:
|
|
||||||
app_name: GPIO
|
|
||||||
GraphicsDemo:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: "Build"
|
|
||||||
uses: ./.github/actions/build-app
|
|
||||||
with:
|
|
||||||
app_name: GraphicsDemo
|
|
||||||
HelloWorld:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: "Build"
|
|
||||||
uses: ./.github/actions/build-app
|
|
||||||
with:
|
|
||||||
app_name: HelloWorld
|
|
||||||
SerialConsole:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: "Build"
|
|
||||||
uses: ./.github/actions/build-app
|
|
||||||
with:
|
|
||||||
app_name: SerialConsole
|
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
name: Release Apps
|
|
||||||
on:
|
|
||||||
workflow_run:
|
|
||||||
workflows: ["Build Apps"]
|
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
|
|
||||||
permissions: read-all
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Publish:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: "Build"
|
|
||||||
uses: ./.github/actions/release-apps
|
|
||||||
Reference in New Issue
Block a user