Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

Commit

Permalink
pkg: Add support for Fedora 35
Browse files Browse the repository at this point in the history
  • Loading branch information
StollD committed Nov 1, 2021
1 parent 5289c15 commit aad6b5b
Showing 1 changed file with 59 additions and 2 deletions.
61 changes: 59 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,37 @@ jobs:
name: debian-latest
path: release

build-f35:
name: Build Fedora 35 package
runs-on: ubuntu-latest
container:
image: fedora:35
options: --security-opt seccomp=unconfined
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install build dependencies
run: $SCRIPTS/pkg-fedora.sh install

- name: Build package
run: $SCRIPTS/pkg-fedora.sh build

- name: Sign packages
env:
GPG_KEY_ID: 56C464BAAC421453
GPG_KEY: ${{ secrets.SURFACE_GPG_KEY }}
run: $SCRIPTS/pkg-fedora.sh sign

- name: Prepare release
run: $SCRIPTS/pkg-fedora.sh release

- name: Upload artifacts
uses: actions/upload-artifact@v1
with:
name: fedora-35-latest
path: release

build-f34:
name: Build Fedora 34 package
runs-on: ubuntu-latest
Expand Down Expand Up @@ -98,7 +129,6 @@ jobs:
name: fedora-34-latest
path: release


build-f33:
name: Build Fedora 33 package
runs-on: ubuntu-latest
Expand Down Expand Up @@ -131,7 +161,7 @@ jobs:
release:
name: Publish release
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
needs: [build-deb, build-arch, build-f34, build-f33]
needs: [build-deb, build-arch, build-f35, build-f34, build-f33]
runs-on: ubuntu-latest
steps:
- name: Download Debian artifacts
Expand All @@ -144,6 +174,11 @@ jobs:
with:
name: arch-latest

- name: Download Fedora 35 artifacts
uses: actions/download-artifact@v1
with:
name: fedora-35-latest

- name: Download Fedora 34 artifacts
uses: actions/download-artifact@v1
with:
Expand Down Expand Up @@ -203,6 +238,28 @@ jobs:
GIT_REF: ${{ github.ref }}
run: $SCRIPTS/repo-debian.sh $NAME

repo-f35:
name: Update Fedora 35 package repository
needs: [release]
runs-on: ubuntu-latest
container:
image: fedora:35
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Download artifacts
uses: actions/download-artifact@v1
with:
name: fedora-35-latest

- name: Update repository
env:
SURFACEBOT_TOKEN: ${{ secrets.SURFACE_BOT_TOKEN }}
GIT_REF: ${{ github.ref }}
run: $SCRIPTS/repo-fedora.sh $NAME 35

repo-f34:
name: Update Fedora 34 package repository
needs: [release]
Expand Down

0 comments on commit aad6b5b

Please sign in to comment.