fix: cloudflare iso condition (#324) #196
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build ISOs | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/*build-iso.yml" | |
- "**/flatpaks/**" | |
push: | |
branches: | |
- main | |
paths: | |
- ".github/workflows/*build-iso.yml" | |
- "**/flatpaks/**" | |
schedule: | |
# Every week at midnight on Monday | |
- cron: "0 0 * * 1" | |
workflow_dispatch: | |
inputs: | |
upload-to-cloudflare: | |
description: "Upload to Cloudflare" | |
required: false | |
default: false | |
type: boolean | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-iso | |
cancel-in-progress: true | |
jobs: | |
build-lumina: | |
uses: rsturla/eternal-main/.github/workflows/_build-iso.yml@main | |
secrets: inherit | |
strategy: | |
fail-fast: false | |
matrix: | |
image-name: | |
- lumina | |
- cosmic | |
image-tag: | |
- stable | |
- stable-nvidia | |
with: | |
image-name: ${{ matrix.image-name }} | |
image-registry: ghcr.io/rsturla/eternal-linux | |
image-tag: ${{ matrix.image-tag }} | |
flatpak-manifest-lists: | | |
lumina/flatpaks/base | |
lumina/flatpaks/${{ matrix.image-name }} | |
installer-version: 41 | |
upload-to-cloudflare: ${{ github.event.inputs.upload-to-cloudflare && true || false }} | |
r2-bucket: ${{ vars.R2_BUCKET_NAME }} |