Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
js6pak committed Feb 8, 2024
1 parent e3feb49 commit a41e30e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ jobs:
build-natives:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-11]
arch: [x64, x86]
exclude:
- os: macos-latest
- os: macos-11
arch: x86
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 8
distribution: zulu
Expand All @@ -28,15 +28,15 @@ jobs:
uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.arch }}
- if: matrix.os == 'macos-latest'
- if: matrix.os == 'macos-11'
run: sudo xcode-select -s /Applications/Xcode_11.7.app/Contents/Developer
- name: Build natives
run: ant generate-all compile_native
- if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: natives
path: |
Expand All @@ -49,19 +49,19 @@ jobs:
needs: build-natives
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 8
distribution: zulu
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: natives
path: bin/lwjgl
- name: Build
run: ant generate-all maven-full
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: maven
path: dist/lwjgl-maven-*.zip

0 comments on commit a41e30e

Please sign in to comment.