Skip to content

Merge pull request #15 from CybercentreCanada/stage #8

Merge pull request #15 from CybercentreCanada/stage

Merge pull request #15 from CybercentreCanada/stage #8

Workflow file for this run

name: Java CI with Gradle
on:
push:
tags:
- '*'
permissions:
# need contents write permission to create release... careful with this because it is a broad permission
contents: write
jobs:
build-release-jar:
name: build and release Kangooroo Distribution
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/[email protected]
with:
java-version: '11'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 7.0.2
- run: gradle distZip
- uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
build/distributions/*.zip