Skip to content

build(deps): bump the versions group with 12 updates (#62) #106

build(deps): bump the versions group with 12 updates (#62)

build(deps): bump the versions group with 12 updates (#62) #106

Workflow file for this run

name: Publish release
on:
push:
branches:
- master
jobs:
gradle_validation:
uses: ./.github/workflows/gradle-wrapper-validation.yml
publish:
name: Publish library at mavenCentral
runs-on: ubuntu-latest
needs: [ gradle_validation ]
env:
makeevrserg_SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
makeevrserg_SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
makeevrserg_OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
makeevrserg_OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
makeevrserg_SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK 1.21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Give gradle permission
run: chmod +x gradlew
- name: Prebuild library
run: ./gradlew publishToMavenLocal --stacktrace
- name: Publish library
run: ./gradlew publish --no-parallel --stacktrace
release:
needs: [ publish ]
name: Create release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: christian-draeger/read-properties@1.1.1
id: properties
with:
path: './gradle.properties'
properties: 'makeevrserg.project.name makeevrserg.project.version.string'
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
with:
tag_name: ${{ steps.properties.outputs.makeevrserg-project-version-string }}
name: ${{ steps.properties.outputs.makeevrserg-project-name }} - ${{ steps.properties.outputs.makeevrserg-project-version-string }}
draft: false
prerelease: false