move to seperate files because gitea does not have expressions yet
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user