Try and use organizational account to get sonatype working (#169) #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: dependency-graph | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
submit-dependency-graph: | |
if: github.repository == 'finos/morphir-jvm' && github.ref == 'refs/heads/main' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: coursier/cache-action@v6 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
# We want to see the transmitted graph in the logs | |
- run: ./mill --import ivy:io.chris-kipp::mill-github-dependency-graph::0.2.6 showNamed io.kipp.mill.github.dependency.graph.Graph/generate | |
# Actually upload the graph | |
- uses: ckipp01/mill-dependency-submission@v1 |