Skip to content

Merge pull request #42 from qupath/ensure-cpu-listed #3

Merge pull request #42 from qupath/ensure-cpu-listed

Merge pull request #42 from qupath/ensure-cpu-listed #3

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 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/[email protected]
- name: Build with Gradle
uses: gradle/[email protected]
with:
arguments: build
- name: Release
env:
GH_TOKEN: ${{ github.token }}
run: gh release create --draft ${{ github.ref_name }} --title ${{ github.ref_name }} build/libs/*