Skip to content

Make AsmConstructorData extend AsmMethodData #70

Make AsmConstructorData extend AsmMethodData

Make AsmConstructorData extend AsmMethodData #70

name: Deploy Snapshot
on:
push:
branches: ['main']
paths-ignore:
- '.idea/**'
- 'license.txt'
- 'header.txt'
- 'readme.md'
- '.gitignore'
- '.gitattributes'
- '.editorconfig'
jobs:
deploy:
name: Deploy Snapshot
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- uses: gradle/wrapper-validation-action@v1
- uses: gradle/gradle-build-action@v2
- name: Get project version
id: get_version
shell: bash
run: |
project_version=$(./gradlew -q --console=plain printVersion)
echo "version=$project_version" >> $GITHUB_OUTPUT
- name: Deploy snapshot version
if: endsWith(steps.get_version.outputs.version, '-SNAPSHOT')
run: ./gradlew publishMavenPublicationToSonatypeRepository
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}