mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 23:05:49 +00:00
Add github action yaml 00
This commit is contained in:
parent
084ad154d7
commit
a049cb832a
1 changed files with 5 additions and 6 deletions
11
.github/workflows/rt-workflow.yml
vendored
11
.github/workflows/rt-workflow.yml
vendored
|
@ -40,15 +40,14 @@ jobs:
|
||||||
# Basic authentication credentials
|
# Basic authentication credentials
|
||||||
JF_USER: ${{ secrets.JF_USER }}
|
JF_USER: ${{ secrets.JF_USER }}
|
||||||
JF_PASSWORD: ${{ secrets.JF_PASSWORD }}
|
JF_PASSWORD: ${{ secrets.JF_PASSWORD }}
|
||||||
|
|
||||||
# - name: Configure JFrog CLI
|
|
||||||
# run: |
|
|
||||||
# jfrog config add artifactory-server --url=$ARTIFACTORY_URL --user=$ARTIFACTORY_USERNAME --password=$ARTIFACTORY_PASSWORD
|
|
||||||
|
|
||||||
- name: Configure Maven
|
- name: Configure Maven
|
||||||
run: |
|
run: |
|
||||||
jfrog mvn-config --repo-deploy-releases super-demo-libs-release --repo-deploy-snapshots super-demo-libs-snapshot --repo-resolve-releases super-demo-libs-release --repo-resolve-snapshots super-demo-libs-snapshot
|
jfrog mvn-config --repo-deploy-releases super-demo-libs-release --repo-deploy-snapshots super-demo-libs-snapshot --repo-resolve-releases super-demo-libs-release --repo-resolve-snapshots super-demo-libs-snapshot
|
||||||
|
- name: Run Maven Build
|
||||||
|
env:
|
||||||
|
JFROG_CLI_BUILD_NAME: omriz-pet-clinic
|
||||||
|
run: |
|
||||||
|
jfrog mvn clean install -DskipTests --build-name=omri-demo-petclinic --build-number=$GITHUB_RUN_NUMBER
|
||||||
- name: Publish build info to Artifactory
|
- name: Publish build info to Artifactory
|
||||||
env:
|
env:
|
||||||
JFROG_CLI_BUILD_NAME: omriz-pet-clinic
|
JFROG_CLI_BUILD_NAME: omriz-pet-clinic
|
||||||
|
|
Loading…
Reference in a new issue