Merge remote-tracking branch 'origin/master' #212
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: Update Version | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 16 | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Build with Gradle | |
run: ./gradlew tools:checkJitPack | |
- name: Push changes | |
run: | | |
git config --global user.email "cli@github.com" | |
git config --global user.name "Github Actions" | |
git add versions/* | |
git commit --allow-empty -m "[version-update]" | |
git push https://Zelaux:${{ secrets.API_TOKEN_GITHUB }}@github.com/Zelaux/ZelauxModCore |