gradle-tools/.github/workflows/publish.yml
Iaroslav Postovalov 119fe49bbe
Fix indentaion
2022-04-04 16:06:48 +07:00

25 lines
582 B
YAML

name: Gradle publish
on:
workflow_dispatch:
release:
types: [ created ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 40
steps:
- uses: actions/checkout@v3.0.0
- uses: actions/setup-java@v3.0.0
with:
java-version: 11
distribution: liberica
- uses: gradle/gradle-build-action@v2.1.5
with:
arguments: |
publishAllPublicationsToSpaceRepository
-Ppublishing.space.user=${{ secrets.SPACE_APP_ID }}
-Ppublishing.space.token=${{ secrets.SPACE_APP_SECRET }}