diff options
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r-- | .github/workflows/main.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62f386c2..db0dc81b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,10 +3,10 @@ name: Build on: push: branches: - - '*' + - 'master' pull_request: branches: - - '*' + - 'master' workflow_dispatch: jobs: build: @@ -20,6 +20,7 @@ jobs: with: java-version: '16' distribution: 'adopt' + cache: 'gradle' - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Download hychat as a dependency @@ -30,4 +31,4 @@ jobs: if: github.event_name == 'workflow_dispatch' with: name: Compiled-files - path: build/libs/*.jar + path: build/libs/*.jar
\ No newline at end of file |