2022-03-10 18:17:00 +03:00
|
|
|
name: Gradle publish
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
release:
|
|
|
|
types: [ created ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
2022-03-10 18:25:17 +03:00
|
|
|
timeout-minutes: 40
|
2022-03-10 18:17:00 +03:00
|
|
|
|
|
|
|
steps:
|
2022-04-04 12:05:27 +03:00
|
|
|
- uses: actions/checkout@v3.0.0
|
|
|
|
- uses: actions/setup-java@v3.0.0
|
2022-03-10 18:25:17 +03:00
|
|
|
with:
|
2022-03-15 22:31:44 +03:00
|
|
|
java-version: 11
|
|
|
|
distribution: liberica
|
2022-04-04 12:05:27 +03:00
|
|
|
- uses: gradle/gradle-build-action@v2.1.5
|
2022-03-10 18:25:17 +03:00
|
|
|
with:
|
2022-03-15 22:31:44 +03:00
|
|
|
arguments: |
|
2022-04-04 12:06:48 +03:00
|
|
|
publishAllPublicationsToSpaceRepository
|
|
|
|
-Ppublishing.space.user=${{ secrets.SPACE_APP_ID }}
|
|
|
|
-Ppublishing.space.token=${{ secrets.SPACE_APP_SECRET }}
|