Try to release
This commit is contained in:
parent
484c8c64cf
commit
5ae8f3d233
2 changed files with 5 additions and 6 deletions
5
.github/workflows/gradle-publish.yml
vendored
5
.github/workflows/gradle-publish.yml
vendored
|
@ -14,7 +14,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
@ -40,5 +40,4 @@ jobs:
|
||||||
- name: Publish to GitHub Packages
|
- name: Publish to GitHub Packages
|
||||||
run: ./gradlew publish
|
run: ./gradlew publish
|
||||||
env:
|
env:
|
||||||
REPOSITORY_USERNAME: ${{ github.actor }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
REPOSITORY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
|
|
@ -40,10 +40,10 @@ publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = "GitHub"
|
name = "GitHub"
|
||||||
url = uri("https://maven.pkg.github.com/ThunderNetworkRaD/permission-checker")
|
url = uri("https://maven.pkg.github.com/ThunderNetworkRaD/sitemap")
|
||||||
credentials {
|
credentials {
|
||||||
username = System.getenv("REPOSITORY_USERNAME")
|
username = System.getenv("GITHUB_ACTOR")
|
||||||
password = System.getenv("REPOSITORY_PASSWORD")
|
password = System.getenv("GITHUB_TOKEN")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue