Skip to content

Merge pull request #52 from qupath/petebankhead-patch-1 #4

Merge pull request #52 from qupath/petebankhead-patch-1

Merge pull request #52 from qupath/petebankhead-patch-1 #4

Workflow file for this run

name: Make draft release
on:
push:
tags: ["v*"]
workflow_dispatch:
jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build
- name: Release
env:
GH_TOKEN: ${{ github.token }}
run: gh release create --draft ${{ github.ref_name }} --title ${{ github.ref_name }} build/libs/*