Skip to content

update workflow

update workflow #12

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
env:
GITHUB_TOKEN: ${{github.token}}
run: |
. servicedeploy.sh