Skip to content

Commit

Permalink
pkg: Remove support for Fedora 36
Browse files Browse the repository at this point in the history
  • Loading branch information
StollD committed Jul 19, 2023
1 parent 5a5ab45 commit b56c266
Showing 1 changed file with 1 addition and 62 deletions.
63 changes: 1 addition & 62 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,42 +184,10 @@ jobs:
name: fedora-37-latest
path: release

build-f36:
name: Build Fedora 36 package
container: fedora:36
runs-on: ubuntu-latest
needs: [check]
steps:
- name: Restore workspace
uses: actions/download-artifact@v3
with:
name: workspace

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

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

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

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

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

release:
name: Publish release
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
needs: [build-deb, build-arch, build-f38, build-f37, build-f36]
needs: [build-deb, build-arch, build-f38, build-f37]
runs-on: ubuntu-latest
steps:
- name: Download Debian artifacts
Expand All @@ -246,12 +214,6 @@ jobs:
name: fedora-37-latest
path: fedora-37-latest

- name: Download Fedora 36 artifacts
uses: actions/download-artifact@v3
with:
name: fedora-36-latest
path: fedora-36-latest

- name: Upload assets
uses: svenstaro/upload-release-action@v2
with:
Expand Down Expand Up @@ -352,26 +314,3 @@ jobs:
SURFACEBOT_TOKEN: ${{ secrets.LINUX_SURFACE_BOT_TOKEN }}
GIT_REF: ${{ github.ref }}
run: bash $SCRIPTS/repo-fedora.sh $NAME 37

repo-f36:
name: Update Fedora 36 package repository
container: fedora:36
runs-on: ubuntu-latest
needs: [release]
steps:
- name: Restore workspace
uses: actions/download-artifact@v3
with:
name: workspace

- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: fedora-36-latest
path: fedora-36-latest

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

0 comments on commit b56c266

Please sign in to comment.