Update workflow_java.yml #79
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
# 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: EOK Snapshot Build | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone EOK repository | |
uses: actions/[email protected] | |
with: | |
path: EOK-1.12 | |
- name: Set up JDK 1.8 | |
uses: actions/[email protected] | |
with: | |
java-version: '8' | |
distribution: 'zulu' | |
cache: 'gradle' | |
- name: Grant Execute Permission | |
run: chmod +x ./EOK-1.12/gradlew | |
- name: CI Setup | |
run: cd ./EOK-1.12/ && ./gradlew setupCIWorkspace | |
- name: Build | |
run: cd ./EOK-1.12/ && ./gradlew build | |
- name: Upload Artifact | |
uses: actions/[email protected] | |
with: | |
name: EOK Snapshot | |
path: ./EOK-1.12/build/libs |