Feat: Add PyCramKnowRobPrinter for Planning #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- '*' | |
env: | |
JAVA_VERSION: 17 | |
permissions: | |
contents: write | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- run: git fetch --tags --force | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "corretto" | |
java-version: "${{ env.JAVA_VERSION }}" | |
- name: Run distribution build | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: distZip | |
- name: Get release notes | |
id: release-notes | |
run: | | |
echo -e "### What's changed?\n$(git tag -l --format='%(contents:body)' ${{ github.ref_name }})" > ${{ github.workspace }}-CHANGELOG.txt | |
- name: Create release | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: v${{ github.ref_name }} | |
body_path: ${{ github.workspace }}-CHANGELOG.txt | |
files: build/distributions/*.zip |