Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
fix(f39): Build from main instead of nokmods
Browse files Browse the repository at this point in the history
nokmods is deprecated from Fedora 39 onward
  • Loading branch information
EyeCantCU authored Oct 12, 2023
1 parent a81c850 commit 39ba8a2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,21 @@ jobs:
strategy:
fail-fast: false
matrix:
image_flavor: [-main]
image_flavor: [-nokmods, -main]
base_name: [surface]
base_image_name: [silverblue, kinoite, vauxite, sericea, base, lxqt, mate]
major_version: [38]
include:
- major_version: 38
is_latest_version: true
is_stable_version: true
exclude:
- image_flavor: -nokmods
major_version: 39
- image_flavor: -main
major_version: 38
- image_flavor: -main
major_version: 37
steps:
- name: Maximize build space
uses: ublue-os/remove-unwanted-software@v6
Expand All @@ -43,7 +50,7 @@ jobs:
- name: Matrix Variables
run: |
echo "BASE_IMAGE_NAME=${{ matrix.base_image_name }}" >> $GITHUB_ENV
if [[ "${{ matrix.image_flavor }}" =~ "main" ]]; then
if [[ "${{ matrix.image_flavor }}" =~ "nokmods" || "${{ matrix.image_flavor }}" =~ "main" ]]; then
echo "IMAGE_NAME=${{ format('{0}-{1}', matrix.base_image_name, matrix.base_name) }}" >> $GITHUB_ENV
else
echo "IMAGE_NAME=${{ format('{0}-{1}{2}', matrix.base_image_name, matrix.base_name, matrix.image_flavor) }}" >> $GITHUB_ENV
Expand Down

0 comments on commit 39ba8a2

Please sign in to comment.