Skip to content

更新工作流组件 #78

更新工作流组件

更新工作流组件 #78

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 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 for gradlew
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