add release

This commit is contained in:
2025-09-07 22:12:11 +02:00
parent 962bc53068
commit 28945e54ae
4 changed files with 195 additions and 8 deletions

View File

@@ -12,10 +12,6 @@ on:
description: Branch reference
required: true
type: string
GRADLE_TASK:
description: Gradle task to run (e.g., 'build publish' or 'publishPluginMavenPublicationToGitHubPackagesRepository')
required: true
type: string
secrets:
CI_BOT_USERNAME:
required: true
@@ -26,22 +22,19 @@ jobs:
publish-artifact:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
ref: ${{ inputs.BRANCH_REFERENCE }}
token: ${{ secrets.CI_BOT_TOKEN }}
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ inputs.JAVA_VERSION }}
- name: Run Gradle
run: ./gradlew ${{ inputs.GRADLE_TASK }}
run: ./gradlew publishAllPublicationsToGiteaPackagesRepository
shell: bash
env:
REPOSITORY_USER: ${{ secrets.CI_BOT_USERNAME }}