New release 8.6.2 #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish release | |
on: | |
# Runs whenever a new tag is pushed | |
push: | |
tags: | |
- '*.*.*' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
# Publish job | |
publish: | |
runs-on: ubuntu-latest | |
# Sets permissions of the GITHUB_TOKEN to allow publishing to GitHub Packages | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Validate Gradle wrapper | |
uses: gradle/actions/wrapper-validation@v3 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Publish package | |
run: ./gradlew publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
REPOSILITE_USERNAME: ${{ secrets.REPOSILITE_USERNAME }} | |
REPOSILITE_PASSWORD: ${{ secrets.REPOSILITE_PASSWORD }} | |
YOSPACE_USERNAME: ${{ secrets.YOSPACE_USERNAME }} | |
YOSPACE_PASSWORD: ${{ secrets.YOSPACE_PASSWORD }} |