Add github action yaml 00

This commit is contained in:
OmriZ 2024-07-31 23:34:11 +03:00
parent e70a3dd745
commit 084ad154d7

View file

@ -1,4 +1,4 @@
name: Build and Publish to Artifactory name: OMRI - Build and Publish to Artifactory
on: on:
push: push:
@ -35,7 +35,6 @@ jobs:
with: with:
version: 'latest' version: 'latest'
env: env:
# JFrog platform url (for example: https://acme.jfrog.io)
JF_URL: ${{ secrets.JF_URL }} JF_URL: ${{ secrets.JF_URL }}
# Basic authentication credentials # Basic authentication credentials
@ -51,6 +50,8 @@ jobs:
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: Publish build info to Artifactory - name: Publish build info to Artifactory
env:
JFROG_CLI_BUILD_NAME: omriz-pet-clinic
run: | run: |
jfrog rt build-publish omriz-pet-clinic $GITHUB_RUN_NUMBER jfrog rt build-publish omriz-pet-clinic $GITHUB_RUN_NUMBER