Fix task 7
Gitea Test Publishing / Build-Project (push) Failing after 1m11s Details

This commit is contained in:
Gero Lindner 2024-01-22 21:39:47 +01:00
parent ed71d7e945
commit efda10fc22
Signed by: gero.lindner
GPG Key ID: F7F222F23A672C4D
2 changed files with 5 additions and 3 deletions

View File

@ -13,5 +13,7 @@ jobs:
with: with:
distribution: "temurin" distribution: "temurin"
java-version: "17" java-version: "17"
- name: Build project - name: Test project
run: ./gradlew build run: ./gradlew test
- name: Publish project
run: ./gradlew publishAllPublicationsToGiteaRepository

View File

@ -41,7 +41,7 @@ publishing {
credentials(HttpHeaderCredentials) { credentials(HttpHeaderCredentials) {
name = "Authorization" name = "Authorization"
value = "token " + System.getenv("GITEA_PERSONAL_ACCESS_TOKEN") value = "token " + System.getenv("PERSONAL_ACCESS_TOKEN")
} }
authentication { authentication {