Skip to content

Commit

Permalink
chore: upgrade to ubuntu-22.04
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Ebert <[email protected]>
  • Loading branch information
KimEbert42 authored and WadeBarnes committed Apr 12, 2024
1 parent 9c9d891 commit 86613ab
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/actions/workflow-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ runs:
shell: bash
run: |
echo "CACHE_KEY_BUILD=${{ hashFiles('.github/workflows/build/Dockerfile.ubuntu-2004') }}" >> $GITHUB_OUTPUT
echo "UBUNTU_VERSION=ubuntu-2004" >> $GITHUB_OUTPUT
echo "CACHE_KEY_BUILD=${{ hashFiles('.github/workflows/build/Dockerfile.ubuntu-2204') }}" >> $GITHUB_OUTPUT
echo "UBUNTU_VERSION=ubuntu-2204" >> $GITHUB_OUTPUT
echo "distribution=focal" >> $GITHUB_OUTPUT
echo "::group::DEBUG" # Ensure publishing is only performed when the build is executed from the main organization.
Expand All @@ -56,8 +56,8 @@ runs:
echo "publish=false" >> $GITHUB_OUTPUT
echo "publish = false"
fi
echo "CACHE_KEY_BUILD=${{ hashFiles('.github/workflows/build/Dockerfile.ubuntu-2004') }}"
echo "UBUNTU_VERSION=ubuntu-2004"
echo "CACHE_KEY_BUILD=${{ hashFiles('.github/workflows/build/Dockerfile.ubuntu-2204') }}"
echo "UBUNTU_VERSION=ubuntu-2204"
echo "distribution=focal"
echo "publish = ${{ env.publish }}"
echo "::endgroup::"
8 changes: 4 additions & 4 deletions .github/workflows/buildpackages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Make sure the version is only calculated once for consistency.
set-version:
name: Set Version
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container:
image: ${{ inputs.DOCKER_IMAGE }}
outputs:
Expand All @@ -47,7 +47,7 @@ jobs:
build-release:
name: Build Release
needs: [set-version]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
UBUNTU_VERSION: ${{ inputs.UBUNTU_VERSION }}
container:
Expand All @@ -71,7 +71,7 @@ jobs:
build-python-packages:
name: Build Python Packages
needs: [set-version]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:

build-3rd-party-dependencies:
name: Build 3rd Party Dependencies
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
UBUNTU_VERSION: ${{ inputs.UBUNTU_VERSION }}
container:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
lint:
name: Lint
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
jobs:
publish_artifacts:
name: Publish Artifacts
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
COMPONENT: ${{ inputs.COMPONENT }}
UBUNTU_VERSION: ${{ inputs.UBUNTU_VERSION }}
Expand Down

0 comments on commit 86613ab

Please sign in to comment.