Release pipelines (#12)
Create a release pipeline that builds a zip file with everything to copy onto the CDN for delivery in the upcoming App Hub.
This commit is contained in:
committed by
GitHub
parent
bb0d536baa
commit
05862ae65c
@@ -1,21 +1,21 @@
|
||||
name: Release Apps
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
using: 'composite'
|
||||
steps:
|
||||
- name: Download app artifacts
|
||||
- name: 'Download app artifacts'
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: downloaded_apps
|
||||
- name: Place reports' artifacts
|
||||
run: rsync -av downloaded_apps/*/*/ release_apps/
|
||||
- name: Copy apps to cdn_files/
|
||||
run: rsync -av downloaded_apps/*/*.app cdn_files/
|
||||
shell: bash
|
||||
- name: 'Create CDN release files'
|
||||
run: python release.py cdn_files/
|
||||
shell: bash
|
||||
- name: 'Upload Artifact'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "apps"
|
||||
path: release_apps/
|
||||
name: 'cdn-files'
|
||||
path: cdn_files/
|
||||
retention-days: 30
|
||||
- name: Output
|
||||
run: ls -R release_apps/
|
||||
shell: bash
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Build Apps
|
||||
name: Main
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
Reference in New Issue
Block a user