gradle-tools/.github/workflows/publish.yml

25 lines
574 B
YAML
Raw Permalink Normal View History

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:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2.5.0
2022-03-10 18:25:17 +03:00
with:
java-version: 11
distribution: liberica
- uses: gradle/gradle-build-action@v2
2022-03-10 18:25:17 +03:00
with:
arguments: |
2022-04-12 12:12:11 +03:00
publishAllPublicationsToSpaceRepository
-Ppublishing.space.user=${{ secrets.SPACE_APP_ID }}
-Ppublishing.space.token=${{ secrets.SPACE_APP_SECRET }}