Issue#67 Add pipeline to release packages
This commit is contained in:
parent
ca9c813121
commit
c4c4067391
1 changed files with 27 additions and 0 deletions
27
.github/workflows/release-package.yml
vendored
Normal file
27
.github/workflows/release-package.yml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Library Package Publishing
|
||||
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- created
|
||||
|
||||
env:
|
||||
GITHUB_USERNAME: "fknives"
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
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: Publish Project
|
||||
run: ./gradlew publishToGitHub
|
||||
Loading…
Add table
Add a link
Reference in a new issue