66 - ' v*'
77
88jobs :
9- ubuntu-bionic :
10- runs-on : ubuntu-18 .04
9+ ubuntu-jammy :
10+ runs-on : ubuntu-22 .04
1111 strategy :
1212 matrix :
1313 include :
@@ -20,18 +20,20 @@ jobs:
2020 - name : Set up Python
2121 uses : actions/setup-python@v2
2222 with :
23- python-version : ' 3.9 '
23+ python-version : ' 3.10 '
2424 - name : Get version tag
2525 id : get_version
2626 uses : battila7/get-version-action@v2
27- - name : Ubuntu-Install dependencies
27+ - name : Ubuntu dependencies
2828 run : |
29- sudo apt-get update
30- sudo apt-get install -y software-properties-common
31- sudo apt-get install -y build-essential
32- sudo apt-get install -y python3-dev python3-pip python3-virtualenv
33- sudo apt-get install -y pkg-config libssl-dev libdbus-1-dev libdbus-glib-1-dev python-dbus libffi-dev libkrb5-dev
34- - run : |
29+ apt-get install -y software-properties-common \
30+ build-essential \
31+ python3-dev python3-pip python3.10-venv \
32+ pkg-config libssl-dev libdbus-1-dev libdbus-glib-1-dev libffi-dev libkrb5-dev
33+ - name : Python dependencies
34+ run : |
35+ python3 -m venv venv
36+ source venv/bin/activate
3537 pip install ./sign_client
3638 pip install external/okta-0.0.3.1-py2.py3-none-any.whl
3739 pip install -e .
@@ -46,14 +48,14 @@ jobs:
4648 - name : Get build
4749 run : |
4850 cd dist
49- tar czf "user-sync-${UST_VERSION}${UST_VARIANT_TAG}-ubuntu_bionic .tar.gz" user-sync
51+ tar czf "user-sync-${UST_VERSION}${UST_VARIANT_TAG}-ubuntu_jammy .tar.gz" user-sync
5052 env :
5153 UST_VARIANT_TAG : ${{matrix.variant_tag}}
5254 UST_VERSION : ${{ steps.get_version.outputs.version }}
5355 - name : Make artifacts
5456 uses : actions/upload-artifact@v2
5557 with :
56- name : ubuntu-bionic
58+ name : ubuntu-jammy
5759 path : dist/*.tar.gz
5860 retention-days : 30
5961
@@ -233,7 +235,7 @@ jobs:
233235
234236 release :
235237 runs-on : ubuntu-latest
236- needs : [centos, ubuntu-bionic , ubuntu-focal, examples, windows]
238+ needs : [centos, ubuntu-jammy , ubuntu-focal, examples, windows]
237239 steps :
238240 - uses : actions/checkout@v2
239241 - name : Create Release
@@ -258,6 +260,6 @@ jobs:
258260 uses : battila7/get-version-action@v2
259261260262 with :
261- files : ' examples/*;ubuntu-bionic /*;ubuntu-focal/*;centos/*'
263+ files : ' examples/*;ubuntu-jammy /*;ubuntu-focal/*;centos/*'
262264 repo-token : ${{ secrets.GITHUB_TOKEN }}
263265 release-tag : ${{ steps.get_version.outputs.version }}
0 commit comments