Skip to content

Commit

Permalink
ci: Update images
Browse files Browse the repository at this point in the history
- All jobs run on Ubuntu 22.04
- Deb package is built agains Debian Bookworm
- RHEL package is built agains AlmaLinux 9
- Fedora package is built agains Fedora 38
- actions/checkout was updated to v3
  • Loading branch information
JoseExposito committed Aug 13, 2023
1 parent 4d57eca commit 310224b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-ppa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ on:

jobs:
update-ppa-branch:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Merge master branch into ppa branch
uses: devmasx/merge-branch@v1.3.1
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ on:
jobs:

deb-package:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
target_docker_image: debian:buster-backports
target_distribution: buster
target_docker_image: debian:bookworm-backports
target_distribution: bookworm
strategy:
matrix:
target_arch: ["amd64", "armhf", "arm64"]
Expand All @@ -23,7 +23,7 @@ jobs:
uses: FranzDiebold/github-env-vars-action@v1.2.1

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Patch target distribution in Debian changelog
# touchegg (x.y.z) DISTRO; urgency=medium
Expand Down Expand Up @@ -56,9 +56,9 @@ jobs:
path: "${{ github.workspace }}/artifacts/${{ env.GITHUB_REPOSITORY_NAME }}_${{ env.GITHUB_REF_NAME }}_${{matrix.target_arch}}.deb"

rpm-package-rhel:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container:
image: almalinux/almalinux:8
image: almalinux/almalinux:9
steps:
- name: Install dependencies
run: |
Expand All @@ -74,7 +74,7 @@ jobs:
uses: FranzDiebold/github-env-vars-action@v1.2.1

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ${{ env.GITHUB_REPOSITORY_NAME }}

Expand All @@ -97,9 +97,9 @@ jobs:
path: "~/rpmbuild/RPMS/x86_64/${{ env.GITHUB_REPOSITORY_NAME }}-${{ env.GITHUB_REF_NAME }}-1.x86_64.rpm"

rpm-package-fedora:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container:
image: fedora:34
image: fedora:38
steps:
- name: Install dependencies
run: |
Expand All @@ -112,7 +112,7 @@ jobs:
uses: FranzDiebold/github-env-vars-action@v1.2.1

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ${{ env.GITHUB_REPOSITORY_NAME }}

Expand All @@ -135,7 +135,7 @@ jobs:
path: "~/rpmbuild/RPMS/x86_64/${{ env.GITHUB_REPOSITORY_NAME }}-${{ env.GITHUB_REF_NAME }}-1.x86_64.rpm"

create-release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [ deb-package, rpm-package-rhel, rpm-package-fedora ]
steps:
- name: GitHub Environment Variables Action
Expand Down

0 comments on commit 310224b

Please sign in to comment.