Skip to content

Commit

Permalink
Update github-actions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mschaab-SA committed Dec 27, 2023
1 parent 6e30215 commit ac2a493
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,17 @@ jobs:
JF_USER: ${{ secrets.JFROG_USERNAME }}
JF_PASSWORD: ${{ secrets.JFROG_PASSWORD }}
- run: |
jf rt ping
# This command adds a new server configuration to the JFrog CLI
- name: Create version for Artifactory
run: |
export BUILD_NAME="saidp-sdk-java"
export BUILD_MODULE="sdk-java"
export BUILD_NUMBER="1"
export VERSION="1.0.3.5"
jf rt upload "./build/libs/saRestApi-*.jar" radius-release-local/saRestApi/$PATH_TO_DIRECTORY --build-name $BUILD_NAME --build-number $BUILD_NUMBER --module $BUILD_MODULE
# This action publishes the build information to Artifactory and deletes older builds
- name: Build to Artifactory
run: |
jf rt build-publish $BUILD_NAME $BUILD_NUMBER

0 comments on commit ac2a493

Please sign in to comment.