Skip to content

Commit

Permalink
Publish only on push to 'publish' branch, use Gradle Wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Apr 16, 2021
1 parent 17b6ab6 commit 6cc2b7c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Publish package to GitHub Packages
on:
push
push:
branches:
- publish
jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -10,7 +12,7 @@ jobs:
with:
java-version: 1.8
- name: Publish package
run: gradle publish
run: ./gradlew publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6cc2b7c

Please sign in to comment.