committed by
GitHub
parent
16770e63d3
commit
722cdc8a1a
@@ -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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user