Try to release

This commit is contained in:
Christian Torbidone 2024-08-31 19:20:24 +02:00
parent 484c8c64cf
commit 5ae8f3d233
2 changed files with 5 additions and 6 deletions

View file

@ -14,7 +14,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
runs-on: self-hosted
permissions:
contents: read
packages: write
@ -40,5 +40,4 @@ jobs:
- name: Publish to GitHub Packages
run: ./gradlew publish
env:
REPOSITORY_USERNAME: ${{ github.actor }}
REPOSITORY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -40,10 +40,10 @@ publishing {
repositories {
maven {
name = "GitHub"
url = uri("https://maven.pkg.github.com/ThunderNetworkRaD/permission-checker")
url = uri("https://maven.pkg.github.com/ThunderNetworkRaD/sitemap")
credentials {
username = System.getenv("REPOSITORY_USERNAME")
password = System.getenv("REPOSITORY_PASSWORD")
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}