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

24 lines
567 B
YAML
Raw 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: |
publishAllPublicationsToSpaceRepository
2022-03-10 18:25:17 +03:00
-Ppublishing.space.user=${{ secrets.SPACE_APP_ID }}
2022-04-12 10:52:49 +03:00
-Ppublishing.space.token=${{ secrets.SPACE_APP_SECRET }}