Skip to content

Commit

Permalink
update publish plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Gergely Hegedus committed Jul 23, 2021
1 parent a2a745c commit 8a73d0a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Library Package Publishing

on:
release:
types:
- created

jobs:
publish-library:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- name: Assemble project
env:
GITHUB_USERNAME: "halcyonmobile"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew publish

0 comments on commit 8a73d0a

Please sign in to comment.