Skip to content

v1.1.0

v1.1.0 #5

Workflow file for this run

name: Publish to Reposilite
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set version
run: echo "RELEASE_VERSION=$(echo ${GITHUB_REF#refs/*/} | sed "s/^v//")" >> $GITHUB_ENV
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'adopt'
- name: Gradle Wrapper Validation
uses: gradle/[email protected]
- name: Gradle Build Action
uses: gradle/[email protected]
with:
arguments: |
clean
build
publish
-Pversion=${{ env.RELEASE_VERSION }}
env:
REPOSILITE_USERNAME: ${{ secrets.REPOSILITE_USERNAME }}
REPOSILITE_PASSWORD: ${{ secrets.REPOSILITE_PASSWORD }}