17 Commits

Author SHA1 Message Date
vizitor a00d452722 Обновить .gitea/workflows/release.yml
Publish Release to Central / publish (push) Failing after 1m33s
2026-06-02 21:12:08 +00:00
vizitor 9f12d894f2 Обновить .gitea/workflows/release.yml
Publish Release to Central / publish (push) Has been cancelled
2026-06-02 21:09:56 +00:00
vizitor dd265032c0 Обновить .gitea/workflows/release.yml
Publish Release to Central / publish (push) Failing after 1m9s
2026-06-02 21:03:34 +00:00
vizitor c98fc4e137 Обновить .gitea/workflows/release.yml
Publish Release to Central / publish (push) Failing after 3m5s
2026-06-02 20:58:31 +00:00
vizitor 3582000230 Обновить .gitea/workflows/release.yml
Publish Release to Central / publish (push) Failing after 5m19s
2026-06-02 20:42:40 +00:00
vizitor 3612c90751 Обновить .gitea/workflows/release.yml
Publish Release to Central / publish (push) Failing after 21m20s
2026-06-02 20:14:27 +00:00
vizitor 121f12507b Обновить .gitea/workflows/release.yml
Publish Release to Central / publish (push) Failing after 20m15s
2026-06-02 19:41:55 +00:00
vizitor a8db806940 Обновить .gitea/workflows/release.yml
Publish Release to Central / publish (push) Failing after 41s
2026-06-02 19:40:13 +00:00
michael 0eae980318 Update .gitea/workflows/release.yml
Publish Release to Central / publish (push) Failing after 3s
2026-06-02 19:01:31 +00:00
michael 5fdf2b94b2 Update .gitea/workflows/release.yml
Publish Release to Central / publish (push) Failing after 5s
2026-06-02 18:45:35 +00:00
michael fa551d1537 Update .gitea/workflows/release.yml
Publish Release to Central / publish (push) Failing after 2s
2026-06-02 18:44:36 +00:00
michael 32da6a4c92 Update .gitea/workflows/release.yml
Publish Release to Central / publish (push) Failing after 11s
2026-06-02 18:39:09 +00:00
michael 8b147e3cbe Update .gitea/workflows/release.yml
Publish Release to Central / publish (push) Has been cancelled
2026-06-02 18:32:09 +00:00
Fokinator 434759d1d1 Merge remote-tracking branch 'origin-gitea/master'
Publish Release to Central / publish (push) Failing after 13s
# Conflicts:
#	.gitea/workflows/release.yml
2026-06-02 20:35:31 +03:00
Fokinator 09198f5284 Merge remote-tracking branch 'origin-gitea/master' 2026-06-02 20:34:43 +03:00
Fokinator 8805984988 Merge remote-tracking branch 'origin-gitea/master'
# Conflicts:
#	.gitea/workflows/release.yml
2026-06-02 16:43:07 +03:00
Fokinator 1bd32119b6 adapt for workflow 2026-06-02 16:42:22 +03:00
2 changed files with 18 additions and 44 deletions
+11 -18
View File
@@ -1,35 +1,28 @@
name: Publish Release name: Publish Release to Central
on: on:
push: push:
branches: branches:
- release - release
- test
jobs: jobs:
publish: publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 25 - name: Setup Java
uses: actions/setup-java@v4 run: apt update && apt install openjdk-25-jdk -y
with: with:
java-version: 25 cache: "gradle"
distribution: 'temurin'
# GPG setup for signing
gpg-private-key: ${{ secrets.SIGNING_KEY }}
gpg-passphrase: ${{ secrets.SIGNING_PASSWORD }}
- name: Make Gradle executable - name: Make Gradle executable
run: chmod +x ./gradlew run: chmod +x ./gradlew
- name: Build, Test, Publish - name: Build, Test, Publish
run: ./gradlew test publish -Djava.awt.headless=true run: ./gradlew test -Djava.awt.headless=true
env: env:
# OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
# OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
# GITHUB_ACTOR: ${{ secrets.ACTOR }}
# GITHUB_TOKEN: ${{ secrets.TOKEN }}
GITEA_TOKEN: ${{ secrets.TOKEN }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }} SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
JAVA_HOME: /usr/lib/jvm/java-25-openjdk-amd64
+6 -25
View File
@@ -210,31 +210,12 @@ def project = project // prevent 'cannot resolve' warnings
publishing { publishing {
repositories { repositories {
// maven {
// name = 'Central'
// url = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
// credentials {
// username = project.findProperty('ossrh.username') ?: System.getenv('OSSRH_USERNAME')
// password = project.findProperty('ossrh.password') ?: System.getenv('OSSRH_PASSWORD')
// }
// }
// maven {
// name = 'GitHubPackages'
// url = 'https://maven.pkg.github.com/SparkleJ-Framework/sparkle-core'
// credentials {
// username = project.findProperty('gpr.user') ?: System.getenv('GITHUB_ACTOR')
// password = project.findProperty('gpr.token') ?: System.getenv('GITHUB_TOKEN')
// }
// }
maven { maven {
name = 'GiteaPackages' name = 'Central'
url = 'https://gitea.darktale.keenetic.link/api/packages/michael/maven' url = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
credentials(HttpHeaderCredentials) { credentials {
name 'Authorization' username = project.findProperty('ossrh.username') ?: System.getenv('OSSRH_USERNAME')
value "token ${project.findProperty('giteaAccessToken') ?: System.getenv('GITEA_TOKEN')}" password = project.findProperty('ossrh.password') ?: System.getenv('OSSRH_PASSWORD')
}
authentication {
register('header', HttpHeaderAuthentication)
} }
} }
} }
@@ -244,7 +225,7 @@ publishing {
pom { pom {
name = 'Sparkle Core Module' name = 'Sparkle Core Module'
description = project.description description = project.description
url = 'https://sparkle.fokinatorr.net' url = 'https://sparkle.fokinatorr.net/core'
licenses { licenses {
license { license {
name = 'MIT License' name = 'MIT License'