Skip to content

Commit 7e640df

Browse files
committed
Add support for Fedora 37 and drop support for Fedora 34
1 parent 2d7c1aa commit 7e640df

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/package.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,10 @@ jobs:
184184
name: fedora-35-latest
185185
path: fedora/out/noarch
186186

187-
build-f34:
188-
name: Build Fedora 34 package
187+
build-f37:
188+
name: Build Fedora 37 package
189189
runs-on: ubuntu-latest
190-
container: fedora:34
190+
container: registry.fedoraproject.org/fedora:37
191191
steps:
192192
- name: Checkout code
193193
uses: actions/checkout@v2
@@ -220,12 +220,12 @@ jobs:
220220
- name: Upload artifacts
221221
uses: actions/upload-artifact@v1
222222
with:
223-
name: fedora-34-latest
223+
name: fedora-37-latest
224224
path: fedora/out/noarch
225225

226226
release:
227227
name: Publish release
228-
needs: [build-deb, build-arch, build-f36, build-f35, build-f34]
228+
needs: [build-deb, build-arch, build-f36, build-f35, build-f37]
229229
runs-on: ubuntu-latest
230230
steps:
231231
- name: Download Debian artifacts
@@ -248,10 +248,10 @@ jobs:
248248
with:
249249
name: fedora-35-latest
250250

251-
- name: Download Fedora 34 artifacts
251+
- name: Download Fedora 37 artifacts
252252
uses: actions/download-artifact@v1
253253
with:
254-
name: fedora-34-latest
254+
name: fedora-37-latest
255255

256256
- name: Upload assets
257257
uses: svenstaro/upload-release-action@v1-release
@@ -466,11 +466,11 @@ jobs:
466466
git commit -m "Update Fedora 35 secure-boot MOK"
467467
git push --set-upstream origin "${update_branch}"
468468
469-
repo-f34:
470-
name: Update Fedora 34 package repository
469+
repo-f37:
470+
name: Update Fedora 37 package repository
471471
needs: [release]
472472
runs-on: ubuntu-latest
473-
container: fedora:34
473+
container: registry.fedoraproject.org/fedora:37
474474
steps:
475475
- name: Install dependencies
476476
run: |
@@ -479,7 +479,7 @@ jobs:
479479
- name: Download artifacts
480480
uses: actions/download-artifact@v1
481481
with:
482-
name: fedora-34-latest
482+
name: fedora-37-latest
483483

484484
- name: Update repository
485485
env:
@@ -493,8 +493,8 @@ jobs:
493493
git clone -b "${BRANCH_STAGING}" "${repo}" repo
494494
495495
# copy packages
496-
cp fedora-34-latest/* repo/fedora/f34
497-
cd repo/fedora/f34
496+
cp fedora-37-latest/* repo/fedora/f37
497+
cd repo/fedora/f37
498498
499499
# parse git tag from ref
500500
GIT_TAG=$(echo $GIT_REF | sed 's|^refs/tags/||g')
@@ -513,5 +513,5 @@ jobs:
513513
update_branch="${BRANCH_STAGING}-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)"
514514
git checkout -b "${update_branch}"
515515
git add .
516-
git commit -m "Update Fedora 34 secure-boot MOK"
516+
git commit -m "Update Fedora 37 secure-boot MOK"
517517
git push --set-upstream origin "${update_branch}"

0 commit comments

Comments
 (0)