diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml new file mode 100644 index 0000000..eb5c168 --- /dev/null +++ b/.github/workflows/generate.yml @@ -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'