Skip to content

Commit

Permalink
Merge branch 'SecureAuthCorp:develop' into RAD-499
Browse files Browse the repository at this point in the history
  • Loading branch information
glacuesta-sa committed Jan 12, 2024
2 parents 5b877cb + 592dbc9 commit 1b31881
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
run: ./gradlew test
# Might want to remove this step
- name: Archive production artifacts ⬆️
if: ${{ github.event_name == 'pull_request' && github.pull_request_target == 'master' }}
uses: actions/upload-artifact@v3
with:
name: Artifacts
Expand All @@ -31,9 +32,9 @@ 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
if: ${{ github.event_name == 'pull_request' && github.pull_request_target == 'master' }}
run: |
export BUILD_NAME="saidp-sdk-java"
export BUILD_MODULE="sdk-java"
Expand All @@ -44,6 +45,7 @@ jobs:
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: Publish to Artifactory
if: ${{ github.event_name == 'pull_request' && github.pull_request_target == 'master' }}
run: |
jf rt build-publish $BUILD_NAME $BUILD_NUMBER
- run: echo "🍏 This job's status is ${{ job.status }}."

0 comments on commit 1b31881

Please sign in to comment.