Skip to content

Release VisUI 1.5.3 (#385) #6

Release VisUI 1.5.3 (#385)

Release VisUI 1.5.3 (#385) #6

Workflow file for this run

name: Release
on:
push:
tags:
- 'visui-*'
jobs:
release:
runs-on: ubuntu-latest
environment: release
steps:
- name: Repository checkout
uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Make Gradle executable
run: chmod +x gradlew
- name: Run tests
run: ./gradlew check
- name: Upload to Maven Central
run: ./gradlew :ui:uploadArchives
env:
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.ossrhUsername }}
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.ossrhPassword }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.signingKey }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.signingPassword }}
- name: Close repository
run: ./gradlew closeRepository
env:
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.ossrhUsername }}
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.ossrhPassword }}
- name: Release repository
run: ./gradlew releaseRepository
env:
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.ossrhUsername }}
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.ossrhPassword }}