Skip to content

Commit

Permalink
#9243 - added build_push-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoltz committed Nov 16, 2023
1 parent 070f827 commit c83d2d5
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build_push-release.yml
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 }}

0 comments on commit c83d2d5

Please sign in to comment.