move to seperate files because gitea does not have expressions yet
All checks were successful
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 9s
Publish / Gradle-Publish (push) Successful in 10s
Test / Gradle-Test (push) Successful in 13s

This commit is contained in:
2024-11-20 12:01:47 +01:00
parent c241f6b1fe
commit 0ea330d48b
2 changed files with 42 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ name: Publish
on:
push:
branches: [master, dev]
branches: [master]
jobs:
Gradle-Publish:
@@ -35,13 +35,6 @@ jobs:
${{ runner.os }}-gradle-
- name: Publish Release
if: ${{ github.ref == '/refs/heads/master' }}
env:
GITEA_TOKEN: ${{ secrets.PUBLISH_PACKAGE_TOKEN }}
run: chmod +x gradlew; ./gradlew publishAllPublicationsToGiteaRepository -Prelease
- name: Publish Dev
if: ${{ github.ref == '/refs/heads/dev' }}
env:
GITEA_TOKEN: ${{ secrets.PUBLISH_PACKAGE_TOKEN }}
run: chmod +x gradlew; ./gradlew publishAllPublicationsToGiteaRepository
run: chmod +x gradlew; ./gradlew publishAllPublicationsToGiteaRepository -Prelease