Skip to content

Update actions workflow. #2

Update actions workflow.

Update actions workflow. #2

Workflow file for this run

name: Publish
on:
push:
tags:
- v**
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 17
- name: Gradle Build and Test
uses: gradle/gradle-build-action@v2
with:
arguments: check build publish publishPlugins --stacktrace
env:
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.SIGNING_PGP_KEY_ID }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_PGP_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PGP_PASSWORD }}
- uses: actions/upload-artifact@v4
with:
name: Artifacts
path: ./build/libs/