You've already forked cache-root
mirror of
https://github.com/armbian/cache-root.git
synced 2026-01-06 10:38:58 -08:00
Create generate.yml
This commit is contained in:
105
.github/workflows/generate.yml
vendored
Normal file
105
.github/workflows/generate.yml
vendored
Normal file
@@ -0,0 +1,105 @@
|
||||
name: Rootfs
|
||||
on:
|
||||
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
schedule:
|
||||
- cron: '0 3 * * *' # Scheduled runs every day at 3am UTC
|
||||
|
||||
jobs:
|
||||
|
||||
Cancel:
|
||||
name: "Cancel currently active"
|
||||
if: ${{ github.repository_owner == 'Armbian' }}
|
||||
runs-on: qemu
|
||||
timeout-minutes: 3
|
||||
steps:
|
||||
- uses: styfle/cancel-workflow-action@0.11.0
|
||||
if: ${{ github.event.schedule == '' }}
|
||||
with:
|
||||
all_but_latest: true
|
||||
access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Minimal:
|
||||
|
||||
needs: Cancel
|
||||
if: ${{ success() && github.repository_owner == 'Armbian' }}
|
||||
uses: ./.github/workflows/include.yml
|
||||
|
||||
with:
|
||||
|
||||
minimal: 'yes'
|
||||
desktop: 'no'
|
||||
variant: ''
|
||||
|
||||
Server:
|
||||
|
||||
needs: Cancel
|
||||
if: ${{ success() && github.repository_owner == 'Armbian' }}
|
||||
uses: ./.github/workflows/include.yml
|
||||
|
||||
with:
|
||||
|
||||
minimal: 'no'
|
||||
desktop: 'no'
|
||||
variant: ''
|
||||
|
||||
GUI1:
|
||||
|
||||
needs: Cancel
|
||||
if: ${{ success() && github.repository_owner == 'Armbian' }}
|
||||
uses: ./.github/workflows/include.yml
|
||||
|
||||
with:
|
||||
|
||||
minimal: 'no'
|
||||
desktop: 'yes'
|
||||
variant: 'x'
|
||||
|
||||
GUI2:
|
||||
|
||||
needs: Cancel
|
||||
if: ${{ success() && github.repository_owner == 'Armbian' }}
|
||||
uses: ./.github/workflows/include.yml
|
||||
|
||||
with:
|
||||
|
||||
minimal: 'no'
|
||||
desktop: 'yes'
|
||||
variant: '3dsupport'
|
||||
|
||||
GUI3:
|
||||
|
||||
needs: Cancel
|
||||
if: ${{ success() && github.repository_owner == 'Armbian' }}
|
||||
uses: ./.github/workflows/include.yml
|
||||
|
||||
with:
|
||||
|
||||
minimal: 'no'
|
||||
desktop: 'yes'
|
||||
variant: '3dsupport browsers'
|
||||
|
||||
GUI4:
|
||||
|
||||
needs: Cancel
|
||||
if: ${{ success() && github.repository_owner == 'Armbian' }}
|
||||
uses: ./.github/workflows/include.yml
|
||||
|
||||
with:
|
||||
|
||||
minimal: 'no'
|
||||
desktop: 'yes'
|
||||
variant: '3dsupport browsers chat desktop_tools editors email internet multimedia office programming remote_desktop'
|
||||
|
||||
GUI5:
|
||||
|
||||
needs: Cancel
|
||||
if: ${{ success() && github.repository_owner == 'Armbian' }}
|
||||
uses: ./.github/workflows/include.yml
|
||||
|
||||
with:
|
||||
|
||||
minimal: 'no'
|
||||
desktop: 'yes'
|
||||
variant: 'browsers chat desktop_tools editors email internet multimedia office programming remote_desktop'
|
||||
Reference in New Issue
Block a user