Skip to content

Commit

Permalink
Record the dependency graph using github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rkoopmans authored Dec 20, 2023
1 parent 9e196fe commit 3f315f5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,14 @@ jobs:
TINIFY_KEY: ${{ secrets.TINIFY_KEY }}
run: mvn -Pintegration integration-test -B

record-dependency-graph:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Submit Dependency Snapshot
uses: advanced-security/maven-dependency-submission-action@v3

publish:
if: |
github.repository == 'tinify/tinify-java' &&
Expand Down Expand Up @@ -142,4 +150,4 @@ jobs:
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

0 comments on commit 3f315f5

Please sign in to comment.