Skip to content

changed java version #3

changed java version

changed java version #3

Workflow file for this run

name: "iabgpp packaging"
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
packages: write
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
cache: 'maven'
- name: Setup Maven settings.xml
run: |
echo '<settings><servers><server><id>cons-github</id><username>deploy</username><password>${{ secrets.GITHUB_TOKEN }}</password></server></servers></settings>' > ~/.m2/settings.xml
shell: bash
- name: Publish packages
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}