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

25 lines
576 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@v3.0.0
- uses: actions/setup-java@v3.0.0
2022-03-10 18:25:17 +03:00
with:
java-version: 11
distribution: liberica
- uses: gradle/gradle-build-action@v2.1.5
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 }}
-Ppublishing.space.token=${{ secrets.SPACE_APP_SECRET }}