diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cd14d9e..e91f350 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ on: workflow_dispatch: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest outputs: version: ${{ steps.version.outputs.version }} pkgversion: ${{ steps.version.outputs.pkgversion }} @@ -50,7 +50,7 @@ jobs: echo "pkgversion=$(sed -n 's/.*\(.*\)<\/PackageVersion>.*/\1/p' Raylib-cs/Build.props)">> ${GITHUB_OUTPUT} build-android: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: build strategy: matrix: @@ -97,7 +97,7 @@ jobs: if-no-files-found: error build-linux: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: build steps: - name: setup dependencies @@ -124,7 +124,8 @@ jobs: -D CMAKE_BUILD_TYPE=Release \ -D BUILD_SHARED_LIBS=ON \ -D BUILD_EXAMPLES=OFF \ - -D CMAKE_C_FLAGS="${{ matrix.cflags }}" + -D CMAKE_C_FLAGS="${{ matrix.cflags }}" \ + -D GRAPHICS=GRAPHICS_API_OPENGL_43 cmake --build build --config Release - name: upload build @@ -192,7 +193,8 @@ jobs: -D CMAKE_BUILD_TYPE=Release \ -D BUILD_SHARED_LIBS=ON \ -D BUILD_EXAMPLES=OFF \ - -D CMAKE_C_FLAGS="${{ matrix.cflags }}" + -D CMAKE_C_FLAGS="${{ matrix.cflags }}" \ + -D GRAPHICS=GRAPHICS_API_OPENGL_43 cmake --build build --config Release - name: upload build @@ -203,7 +205,7 @@ jobs: if-no-files-found: error publish: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: - build - build-android