Update libGDX to 1.12.1 (#385) #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and upload snapshot | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
snapshot: | |
runs-on: ubuntu-latest | |
environment: release | |
steps: | |
- name: Repository checkout | |
uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Make Gradle executable | |
run: chmod +x gradlew | |
- name: Run tests | |
run: ./gradlew check | |
- name: Upload to Maven Central | |
run: ./gradlew :ui:uploadArchives | |
env: | |
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.ossrhUsername }} | |
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.ossrhPassword }} |