Add release workflow (#11)

Merging to test if that enables it
This commit is contained in:
Ken Van Hoeylandt
2025-10-17 22:03:00 +02:00
committed by GitHub
parent 16770e63d3
commit 722cdc8a1a
3 changed files with 44 additions and 3 deletions
+25
View File
@@ -0,0 +1,25 @@
name: Release Apps
runs:
using: "composite"
steps:
- name: 'Build'
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v5.5
path: ./Apps/${{ inputs.app_name }}
command: 'python tactility.py build'
- name: Download app artifacts
uses: actions/download-artifact@v3
with:
path: downloaded_apps
- name: Place reports' artifacts
run: rsync -av downloaded_apps/*/*/ release_apps/
- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
with:
name: "apps"
path: release_apps/
retention-days: 30
- name: Output
run: ls -R release_apps/
@@ -1,4 +1,4 @@
name: Build App
name: Build Apps
on:
push:
branches:
@@ -16,7 +16,7 @@ jobs:
- name: "Build"
uses: ./.github/actions/build-app
with:
app_name: Calculator
app_name: Calculator
Diceware:
runs-on: ubuntu-latest
steps:
@@ -28,7 +28,7 @@ jobs:
GPIO:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
- name: "Build"
uses: ./.github/actions/build-app
with:
+16
View File
@@ -0,0 +1,16 @@
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