Skip to content

Commit

Permalink
[CI] update to ubuntu-22.04 and uraimo/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDSM committed Jan 12, 2024
1 parent 5f8e01f commit 4357ab5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest, windows-latest, ubuntu-20.04 ]
os: [ macos-latest, windows-latest, ubuntu-22.04 ]
arch: [ x64, arm64 ]
exclude:
- os: macos-latest
Expand All @@ -28,11 +28,11 @@ jobs:
architecture: x64

- name: Build OctoBot Binary on Linux arm64
if: matrix.os == 'ubuntu-20.04' && matrix.arch == 'arm64'
uses: uraimo/run-on-arch-action@v2.0.5
if: matrix.os == 'ubuntu-22.04' && matrix.arch == 'arm64'
uses: uraimo/run-on-arch-action@v2.6.0
with:
arch: aarch64
distro: ubuntu20.04
distro: ubuntu22.04
githubToken: ${{ github.token }}
env: |
GH_REPO: Drakkar-Software/OctoBot-Tentacles
Expand All @@ -47,7 +47,7 @@ jobs:
bash ./build_scripts/unix.sh
- name: Build OctoBot Binary on Linux
if: matrix.os == 'ubuntu-20.04' && matrix.arch == 'x64'
if: matrix.os == 'ubuntu-22.04' && matrix.arch == 'x64'
env:
GH_REPO: Drakkar-Software/OctoBot-Tentacles
OCTOBOT_GH_REPO: https://github.com/Drakkar-Software/OctoBot.git
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:

- name: Upload OctoBot Binary on Linux
uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-20.04'
if: matrix.os == 'ubuntu-22.04'
with:
name: OctoBot_linux_${{ matrix.arch }}
path: OctoBot/OctoBot_${{ matrix.arch }}
Expand All @@ -107,7 +107,7 @@ jobs:
name: Create Release
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
needs: builds
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:

notify:
name: Notify
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs:
- builds
- create-release
Expand Down

0 comments on commit 4357ab5

Please sign in to comment.