From 73b0799030ab3208db1a56713c1da938c82f7090 Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Sun, 18 Feb 2024 19:38:08 +0000 Subject: [PATCH] checkout before run --- .github/workflows/build-container.yml | 11 +++++------ .github/workflows/test-iso.yml | 15 +++++++++++++-- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index c502a6b..bbce12d 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -1,5 +1,5 @@ --- -name: Create Container +name: Build Container on: pull_request: branches: @@ -8,13 +8,9 @@ on: branches: - main -env: - IMAGE_NAME: isogenerator - IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}" - jobs: push-image: - name: Build and push image + name: Build and push container image runs-on: ubuntu-22.04 permissions: contents: read @@ -30,6 +26,9 @@ jobs: - version: 39 support: latest steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build image uses: JasonN3/build-action@action with: diff --git a/.github/workflows/test-iso.yml b/.github/workflows/test-iso.yml index 5ef81bd..d3d9468 100644 --- a/.github/workflows/test-iso.yml +++ b/.github/workflows/test-iso.yml @@ -22,6 +22,7 @@ on: jobs: build-and-push-iso: + name: Build ISO runs-on: ubuntu-latest container: image: fedora:39 @@ -29,6 +30,16 @@ jobs: permissions: contents: read packages: write + strategy: + fail-fast: false + matrix: + version: + - 38 + - 39 + - 40 + include: + - version: 40 + web_ui: 'true' steps: - name: Build ISO uses: ./action.yml @@ -38,7 +49,7 @@ jobs: IMAGE_REPO: 'ghcr.io/ublue-os' IMAGE_TAG: 'latest' VARIANT: 'Kinoite' - VERSION: '39' - WEB_UI: 'false' + VERSION: ${{ matrix.version }} + WEB_UI: ${{ matrix.web_ui }} ACTION_REPO: ${{ github.repository }} ACTION_REF: ${{ github.ref }}