Skip to content

Commit

Permalink
[CI] update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume De Saint Martin authored and Herklos committed May 11, 2023
1 parent 7a63105 commit 17cb59f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
builds:
name: ${{ matrix.os }} - ${{ matrix.arch }} - Python 3.8 - build
name: ${{ matrix.os }} - ${{ matrix.arch }} - Python 3.10 - build
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -19,12 +19,12 @@ jobs:
arch: arm64

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python 3.8
uses: actions/setup-python@v2
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.8.x'
python-version: '3.10.x'
architecture: x64

- name: Build OctoBot Binary on Linux arm64
Expand All @@ -43,7 +43,7 @@ jobs:
BUILD_ARCH: ${{ matrix.arch }}
run: |
apt-get update
apt-get install -y --no-install-recommends python3.8 python3-pip python3-dev git gcc musl-dev libc-dev build-essential zlib1g zlib1g-dev
apt-get install -y --no-install-recommends python3.10 python3-pip python3-dev git gcc musl-dev libc-dev build-essential zlib1g zlib1g-dev
bash ./build_scripts/unix.sh
- name: Build OctoBot Binary on Linux
Expand Down Expand Up @@ -80,23 +80,23 @@ jobs:
shell: powershell

- name: Upload OctoBot Binary on MacOS
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: matrix.os == 'macos-latest'
with:
name: OctoBot_macos_${{ matrix.arch }}
path: OctoBot/OctoBot_${{ matrix.arch }}
if-no-files-found: error

- name: Upload OctoBot Binary on Linux
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-20.04'
with:
name: OctoBot_linux_${{ matrix.arch }}
path: OctoBot/OctoBot_${{ matrix.arch }}
if-no-files-found: error

- name: Upload OctoBot Binary on Windows
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: matrix.os == 'windows-latest'
with:
name: OctoBot_windows_${{ matrix.arch }}.exe
Expand All @@ -113,7 +113,7 @@ jobs:
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}

- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3

- name: Clean artifact names
run: |
Expand Down

0 comments on commit 17cb59f

Please sign in to comment.