Skip to content

Merge pull request #8 from Commencis/bugfix/cmakelists-wrong-elseif #3

Merge pull request #8 from Commencis/bugfix/cmakelists-wrong-elseif

Merge pull request #8 from Commencis/bugfix/cmakelists-wrong-elseif #3

Workflow file for this run

name: Release CI
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- name: Checkout Project
uses: actions/[email protected]
- name: Validate Gradle Wrapper
uses: gradle/[email protected]
- name: Configure JDK
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '17'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Create Release
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: true
prerelease: false
- name: Publish Gradle Plugin
env:
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
run: ./gradlew -Dgradle.publish.key=$GRADLE_PUBLISH_KEY -Dgradle.publish.secret=$GRADLE_PUBLISH_SECRET publishPlugins