Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ubuntu 22.04 #31

Merged
merged 2 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/actions/workflow-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ 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 "distribution=focal" >> $GITHUB_OUTPUT
echo "CACHE_KEY_BUILD=${{ hashFiles('.github/workflows/build/Dockerfile.ubuntu-2204') }}" >> $GITHUB_OUTPUT
echo "UBUNTU_VERSION=ubuntu-2204" >> $GITHUB_OUTPUT
echo "distribution=jammy" >> $GITHUB_OUTPUT

echo "::group::DEBUG" # Ensure publishing is only performed when the build is executed from the main organization.
if [[ ${{ github.repository_owner }} == '${{ inputs.ownerRepo }}' ]]; then
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 "distribution=focal"
echo "CACHE_KEY_BUILD=${{ hashFiles('.github/workflows/build/Dockerfile.ubuntu-2204') }}"
echo "UBUNTU_VERSION=ubuntu-2204"
echo "distribution=jammy"
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