mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
try hangar release
This commit is contained in:
parent
62205085c7
commit
152e2c8d86
3 changed files with 89 additions and 4 deletions
12
.github/workflows/gradle.yml
vendored
12
.github/workflows/gradle.yml
vendored
|
|
@ -67,7 +67,7 @@ jobs:
|
|||
run: echo "SMALL_COMMIT_HASH=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV
|
||||
|
||||
- name: Build with Gradle Wrapper
|
||||
run: ./gradlew build --parallel
|
||||
run: ./gradlew build --parallel --stacktrace
|
||||
|
||||
# only submit dependency on push
|
||||
- name: Generate and submit dependency graph
|
||||
|
|
@ -109,4 +109,12 @@ jobs:
|
|||
with:
|
||||
files: |
|
||||
build/libs/${{ env.ONLINE_JAR_NAME }}
|
||||
build/libs/${{ env.OFFLINE_JAR_NAME }}
|
||||
build/libs/${{ env.OFFLINE_JAR_NAME }}
|
||||
|
||||
- name: Hangar release
|
||||
if: ${{ (github.event_name != 'release' || github.event_name != 'push') && github.repository_owner == 'alexcrea' && success() }}
|
||||
env:
|
||||
RELEASE_CHANGELOG: ${{ github.event.release.body }}
|
||||
IS_GITHUB_PRERELEASE: ${{ github.event.release.prerelease }}
|
||||
HANGAR_API_TOKEN: ${{ secrets.HANGAR_API_TOKEN }}
|
||||
run: ./gradlew publishPluginPublicationToHangar --stacktrace
|
||||
Loading…
Add table
Add a link
Reference in a new issue