mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
Update packageWorkflow.yml
This commit is contained in:
parent
a0b11224e4
commit
b8ac3d0051
1 changed files with 9 additions and 0 deletions
9
.github/workflows/packageWorkflow.yml
vendored
9
.github/workflows/packageWorkflow.yml
vendored
|
@ -7,8 +7,13 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
PROJECT_NAME: ${{github.repository}}
|
||||
VERSION: ${{github.ref}}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install Dependencies
|
||||
run: mvn install
|
||||
- name: Build
|
||||
run: mvn package
|
||||
- name: Test
|
||||
|
@ -17,3 +22,7 @@ jobs:
|
|||
run: mvn pack
|
||||
- name: Publish Package
|
||||
run: mvn deploy --registry https://npm.pkg.github.com/
|
||||
- name: Configure Repository
|
||||
run: mvn configure-repository --repository-url=https://github.com/${{github.repository}}
|
||||
- name: Run CI/CD Pipeline
|
||||
run: mvn ci-cd-pipeline
|
||||
|
|
Loading…
Reference in a new issue