diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index b4065cae..b26279c9 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -12,7 +12,6 @@ jobs: runs-on: ubuntu-latest permissions: contents: read - packages: read steps: - uses: actions/checkout@v4 @@ -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 }} diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index c3858133..f591be5e 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -10,7 +10,6 @@ jobs: permissions: # Contents permission needed to create a commit comment contents: write - packages: read steps: - uses: actions/checkout@v4 @@ -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 diff --git a/.github/workflows/settings.xml b/.github/workflows/settings.xml index 6a06262c..d1ca0b35 100644 --- a/.github/workflows/settings.xml +++ b/.github/workflows/settings.xml @@ -10,9 +10,12 @@ - github - OP-TED GitHub Packages - https://public:${env.GITHUB_TOKEN}@maven.pkg.github.com/OP-TED/* + ossrh + OSSRH Snapshots + https://s01.oss.sonatype.org/content/repositories/snapshots + + false + true