forked from tada/pljava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#9243 - added build_push-release.yml
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Build release and Push to Github Packages | ||
|
||
on: | ||
push: | ||
branches: [ "release" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: 'master' #V1_6_6 | ||
|
||
- name: Set up JDK 11 | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '11' | ||
|
||
- name: Build with Maven | ||
run: mvn -B clean package -pl :pljava-api | ||
|
||
- name: Push artefact to Github Packages | ||
run: mvn -B deploy -DaltDeploymentRepository=githublatlon::https://maven.pkg.github.com/lat-lon/pljava | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |