This commit is contained in:
20
.gitea/workflows/build.yaml
Normal file
20
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: CI
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: woryzen
|
||||||
|
steps:
|
||||||
|
- name: Checkout sources
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: temurin
|
||||||
|
java-version: 21
|
||||||
|
- name: Setup Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@v3
|
||||||
|
- name: Execute Gradle build
|
||||||
|
env:
|
||||||
|
PUBLISHER_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
|
||||||
|
run: ./gradlew publish
|
25
build.gradle
25
build.gradle
@@ -8,17 +8,17 @@ version = getProperty('lys.catalog.version')
|
|||||||
|
|
||||||
catalog {
|
catalog {
|
||||||
versionCatalog {
|
versionCatalog {
|
||||||
version('wson', '2023.11.01')
|
version('wson', '2024.04.04')
|
||||||
version('jwo', '2024.02.09')
|
version('jwo', '2024.04.04')
|
||||||
version('jmath', '2023.10.05')
|
version('jmath', '2023.04.04')
|
||||||
version('jzstd', '2023.07.15')
|
version('jzstd', '2023.07.15')
|
||||||
version('klevtree', '2024.02.12')
|
version('klevtree', '2024.02.12')
|
||||||
version('khtml', '2024.03.11')
|
version('khtml', '2024.03.11')
|
||||||
version('jlevtree', '2023.05')
|
version('jlevtree', '2023.05')
|
||||||
version('my-gradle-plugins', '2024.03.11')
|
version('my-gradle-plugins', '2024.04.04')
|
||||||
version('envelope', '2024.02.28')
|
version('envelope', '2024.04.04')
|
||||||
version('gradle.docker', '9.3.2')
|
version('gradle.docker', '9.3.2')
|
||||||
version('wdi', '2023.10.05')
|
version('wdi', '2024.04.04')
|
||||||
|
|
||||||
version('antlr', '4.13.1')
|
version('antlr', '4.13.1')
|
||||||
version('bnd', '7.0.0')
|
version('bnd', '7.0.0')
|
||||||
@@ -316,7 +316,18 @@ catalog {
|
|||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url = 'https://mvn.woggioni.net/'
|
name = "Gitea"
|
||||||
|
url = uri(getProperty('gitea.maven.url'))
|
||||||
|
|
||||||
|
credentials(HttpHeaderCredentials) {
|
||||||
|
name = "Authorization"
|
||||||
|
value = "token ${System.getenv()["PUBLISHER_TOKEN"]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
authentication {
|
||||||
|
header(HttpHeaderAuthentication)
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
publications {
|
publications {
|
||||||
|
@@ -1 +1,3 @@
|
|||||||
lys.catalog.version = 2024.03.12
|
lys.catalog.version = 2024.04.04
|
||||||
|
gitea.maven.url = https://gitea.woggioni.net/api/packages/woggioni/maven
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user