Skip to content

maven-setting-action #7

maven-setting-action

maven-setting-action #7

name: car-demo-common-service
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 19
uses: actions/setup-java@v3
with:
java-version: '19'
distribution: 'temurin'
cache: maven
- name: Build and Publish Maven
uses: s4u/[email protected]
with:
servers: |
[{
"id": "github-library-project-b",
"username": "${{ secrets.USER_PACKAGE_READ }}",
"password": "${{ secrets.TOKEN_PACKAGE_READ }}"
}]
env:
GITHUB_TOKEN: ${{ secrets.RWP_TOKEN }}
run: |
. servicedeploy.sh