Skip to content

Update workflow_java.yml #73

Update workflow_java.yml

Update workflow_java.yml #73

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:
branches:
- '1.12.2'
pull_request:
branches:
- '1.12.2'
workflow_dispatch:
jobs:
build:

Check failure on line 17 in .github/workflows/workflow_java.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/workflow_java.yml

Invalid workflow file

You have an error in your yaml syntax on line 17
runs-on: ubuntu-latest
- name: Clone EOK repository
uses: actions/checkout@v3
with:
path: EOK-1.12
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'zulu'
cache: 'gradle'
- name: Copy gradle.properties
run: cp ./EOK-1.12/.github/gradle.properties ./EOK-1.12/
- 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/upload-artifact@v3
with:
name: EOK Snapshot
path: ./EOK-1.12/build/libs