Skip to content

Commit

Permalink
Merge pull request #1016 from OP-TED/use-sdk-analyzer-from-maven
Browse files Browse the repository at this point in the history
Use SDK Analyzer from maven
  • Loading branch information
bertrand-lorentz authored Sep 10, 2024
2 parents 9483f81 + 2a69efd commit 9b9e82b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@v4

Expand All @@ -24,5 +23,3 @@ jobs:

- name: Build and analyze SDK
run: mvn clean install -Panalyze --no-transfer-progress -s .github/workflows/settings.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
permissions:
# Contents permission needed to create a commit comment
contents: write
packages: read
steps:
- uses: actions/checkout@v4

Expand All @@ -22,8 +21,6 @@ jobs:

- name: Run benchmark
run: mvn clean install -Pbenchmark --no-transfer-progress -s .github/workflows/settings.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Download previous benchmark result from cache (if exists)
- name: Download previous benchmark data
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
</activation>
<repositories>
<repository>
<id>github</id>
<name>OP-TED GitHub Packages</name>
<url>https://public:${env.GITHUB_TOKEN}@maven.pkg.github.com/OP-TED/*</url>
<id>ossrh</id>
<name>OSSRH Snapshots</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
Expand Down

0 comments on commit 9b9e82b

Please sign in to comment.