release: Version 1.5.6 #105
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: Deploy | |
on: | |
push: | |
tags: [ 'v*' ] | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Deploy release | |
run: ./gradlew publishPlugins --no-daemon --stacktrace | |
env: | |
GRADLE_PUBLISH_KEY: "${{ secrets.GRADLE_PLUGIN_PORTAL_KEY }}" | |
GRADLE_PUBLISH_SECRET: "${{ secrets.GRADLE_PLUGIN_PORTAL_SECRET }}" | |
- name: Parse tag | |
id: vars | |
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} | |
- name: Create release and changelog | |
uses: MC-Machinations/auto-release-changelog@v1.1.3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
title: paperweight ${{ steps.vars.outputs.tag }} |