Skip to content

Commit

Permalink
Jsi 50 (#156)
Browse files Browse the repository at this point in the history
* Added actions test

* Adding caching and building

* Added java action

* Validating directory issues

* Added permissions to Gradle Wrapper

* Changed test type of exception thrown

* Changed artifact

* Separated tests in another task

* Adding scans

* Renamed file

* Adding JFROG credentials

* Added PR build

* Adding artifactory publish

* Testing ping

* Checking credentials

* Testing env

* Testing environment
  • Loading branch information
mschaab-SA committed Dec 27, 2023
1 parent c039892 commit 0f21571
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: GitHub Actions
run-name: ${{ github.ref_name }} GitHub Actions 🚀
on: [push]
on: [push, pull_request]
jobs:
Build-Publish:
runs-on: ubuntu-latest
Expand All @@ -25,3 +25,17 @@ jobs:
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 }}
JF_USER: ${{ secrets.JFROG_USERNAME }}
JF_PASSWORD: ${{ secrets.JFROG_PASSWORD }}
- run: |
echo $JF_URL
echo ${{ secrets.ARTIFACTORY_URL }}
echo $JF_USER
jf rt ping

0 comments on commit 0f21571

Please sign in to comment.