Compare commits

...

2 Commits

Author SHA1 Message Date
Jesse Brault
1826b9bc58 Change out release action.
All checks were successful
Ssg Check, Publish, and Release / ci (push) Successful in 2m46s
2025-06-30 15:03:35 -05:00
Jesse Brault
90a2769fb7 Remove jbArchiva plugin and switch to Gitea maven.
Some checks failed
Ssg Check, Publish, and Release / ci (push) Failing after 2m55s
2025-06-30 08:04:54 -05:00
2 changed files with 20 additions and 3 deletions

View File

@ -19,9 +19,8 @@ jobs:
- name: Publish to git.jessebrault.com
run: ./gradlew publishAllPublicationsToGiteaRepository
- name: Release to git.jessebrault.com
uses: https://gitea.com/actions/release-action@main
uses: akkuman/gitea-release-action@v1
with:
files: |-
cli/build/distributions/*.tar
cli/build/distributions/*.zip
api_key: '${{secrets.RELEASE_TOKEN}}'

View File

@ -1,6 +1,6 @@
plugins {
id 'com.jessebrault.jbarchiva'
id 'java'
id 'maven-publish'
}
group 'com.jessebrault.ssg'
@ -47,3 +47,21 @@ testing {
}
}
}
publishing {
repositories {
maven {
name = 'Gitea'
url = uri('https://git.jessebrault.com/api/packages/jessebrault/maven')
credentials(HttpHeaderCredentials) {
name = "Authorization"
value = "token ${System.getenv("GITEA_ACCESS_TOKEN")}"
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
}