Skip to content

chore: Bump lwjgl3 to 3.3.3 #120

chore: Bump lwjgl3 to 3.3.3

chore: Bump lwjgl3 to 3.3.3 #120

name: Fix formatting
on: [push]
permissions:
contents: write
jobs:
fix-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Generate MobiVM MetalANGLE backend
run: ./gradlew :backends:gdx-backend-robovm-metalangle:generate :backends:gdx-backend-robovm-metalangle:spotlessApply
- name: Commit generation changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add backends/gdx-backend-robovm-metalangle/src
git commit -m "Generate MobiVM MetalANGLE backend" -a
continue-on-error: true
- name: Apply formatter
run: ./gradlew spotlessApply
- name: Commit formatting changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -m "Apply formatter" -a
continue-on-error: true
- name: Push formatting changes
uses: ad-m/github-push-action@8407731efefc0d8f72af254c74276b7a90be36e1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}