Skip to content

⬆️ Upgrade to Sisyphus 2.0.11 #4

⬆️ Upgrade to Sisyphus 2.0.11

⬆️ Upgrade to Sisyphus 2.0.11 #4

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/cancel-workflow-action@0.7.0
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