Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
froyo4u authored Feb 25, 2021
1 parent a05951f commit c31c406
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
name: Java CI with Gradle

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
release:
types: [created]

jobs:
build:
Expand All @@ -22,8 +20,11 @@ jobs:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew build
run: gradle build additionalCopy
env:
BUILD_RELEASE: ${{ github.event.prerelease == false }}

- name: Upload assets to a Release
uses: AButler/[email protected]
Expand Down

0 comments on commit c31c406

Please sign in to comment.