Fix task 7
Gitea Test Publishing / Build-Project (push) Failing after 1m11s
Details
Gitea Test Publishing / Build-Project (push) Failing after 1m11s
Details
This commit is contained in:
parent
ed71d7e945
commit
efda10fc22
|
|
@ -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
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue