Skip to content

Commit

Permalink
Fix CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
robert.bruckbauer committed Jan 20, 2023
1 parent 59f7d89 commit c1690c4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#name
name: build
name: CI

# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
on: [push]
Expand All @@ -21,9 +21,12 @@ jobs:
cache: "gradle"

# https://github.com/gradle/gradle
- run: chmod +x gradlew
- run: ./gradlew build

- name: Build with Gradle
env:
GRADLE_USER_HOME: .gradle
JAVA_OPTS: "-Xmx512m -Dorg.gradle.caching=true -Dorg.gradle.daemon=true"
run: chmod +x gradlew && ./gradlew build

# https://github.com/peaceiris/actions-gh-pages
- if: ${{ github.ref == 'refs/heads/master' }}
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit c1690c4

Please sign in to comment.