diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ba92880..1e0f279 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 @@ -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 @@ -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 }} @@ -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 @@ -193,7 +193,7 @@ jobs: notify: name: Notify - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: - builds - create-release