Skip to content

v2.1.0

v2.1.0 #11

Workflow file for this run

name: Publish
on:
push:
branches-ignore: [ 'dependabot/**' ]
paths-ignore: [ '**.md' ]
release:
types: [ prereleased, released ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '17'
- uses: ButterCam/setup-sisyphus-build@v1
with:
gradle-portal-key: ${{ secrets.GRADLE_PUBLISH_KEY }}
gradle-portal-secret: ${{ secrets.GRADLE_PUBLISH_SECRET }}
- name: Publish plugins to Gradle Portal
if: ${{ github.event_name == 'release' }}
run: gradle publishPlugins --no-daemon