Skip to content

Update workflow_java.yml #80

Update workflow_java.yml

Update workflow_java.yml #80

Workflow file for this run

# 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 CuckooLib repository
uses: actions/[email protected]
with:
repository: zi-jing/CuckooLib
ref: 1.16
path: CuckooLib-1.16
- name: Clone EOK repository
uses: actions/[email protected]
with:
path: EOK-1.16
- name: Set up JDK 1.8
uses: actions/[email protected]
with:
java-version: '8'
distribution: 'zulu'
cache: 'gradle'
- name: Copy gradle.properties
run: cp ./EOK-1.16/.github/gradle.properties ./EOK-1.16/
- name: Grant Execute Permission
run: chmod +x ./EOK-1.16/gradlew
- name: Build
run: cd ./EOK-1.16/ && ./gradlew build
- name: Upload EOK Artifact
uses: actions/[email protected]
with:
name: EOK snapshot
path: ./EOK-1.16/build/libs
- name: Upload CuckooLib Artifact
uses: actions/[email protected]
with:
name: CuckooLib snapshot for EOK
path: ./CuckooLib-1.16/build/libs