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 ac2a493 commit 8b5be44
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,12 @@ jobs:
run: ./gradlew build -x test
- name: Run tests 🧑‍⚕️
run: ./gradlew test
# Might want to remove this step
- name: Archive production artifacts ⬆️
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: ./build/libs/saRestApi-*.jar
- run: echo "🍏 This job's status is ${{ job.status }}."
Push-to-artifactory:
runs-on: ubuntu-latest
needs: Build-Publish
steps:
- uses: jfrog/setup-jfrog-cli@v3
env:
JF_URL: ${{ secrets.ARTIFACTORY_URL }}
Expand All @@ -46,6 +42,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: Build to Artifactory
- name: Publish to Artifactory
run: |
jf rt build-publish $BUILD_NAME $BUILD_NUMBER
- run: echo "🍏 This job's status is ${{ job.status }}."

0 comments on commit 8b5be44

Please sign in to comment.