diff options
author | My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> | 2021-04-20 18:48:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 18:48:30 -0400 |
commit | f1935898dd04e450bca16220b047305e2a69bcfa (patch) | |
tree | ce5452793f4cc9f2c5fa82eb7065b4efd8f30277 /.github | |
parent | abfd473f55360c27038323d4799f557f4b3d45f7 (diff) | |
download | SkytilsMod-f1935898dd04e450bca16220b047305e2a69bcfa.tar.gz SkytilsMod-f1935898dd04e450bca16220b047305e2a69bcfa.tar.bz2 SkytilsMod-f1935898dd04e450bca16220b047305e2a69bcfa.zip |
Create gradle.yml
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/gradle.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 00000000..82a5a36b --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,36 @@ +# This workflow will build a Java project with Gradle +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle + +name: Compile Mod + +on: + push: + branches: [ v1 ] + +jobs: + build: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 8 + uses: actions/setup-java@v2 + with: + java-version: '8' + distribution: 'adopt' + - name: Cache Gradle packages + uses: actions/cache@v2.1.5 + with: + path: ~/.gradle/caches + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} + restore-keys: ${{ runner.os }}-gradle + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew setupCiWorkspace build + - name: Upload a Build Artifact + uses: actions/upload-artifact@v2.2.3 + with: + name: Skytils v1 Beta + path: build/libs |