Skip to content

Fix the -jvm-debug and -h flags in the ash template (#1630) #47

Fix the -jvm-debug and -h flags in the ash template (#1630)

Fix the -jvm-debug and -h flags in the ash template (#1630) #47

Workflow file for this run

name: Release
on:
push:
tags: ["*"]
jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# setup build environment
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 8
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
# generate a github release
- name: Generate release changelog
id: changelog
uses: heinrichreimer/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
cacheFile: '.github-changelog-cache'
issues: true
issuesWoLabels: true
pullRequests: true
prWoLabels: true
unreleased: false
onlyLastTag: true
maxIssues: 100
output: LATEST_RELEASE.md
- name: Read latest_release.md
id: release_changelog
uses: juliangruber/read-file-action@v1
with:
path: ./LATEST_RELEASE.md
- name: Create Github Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ env.RELEASE_VERSION }}
body: ${{ steps.release_changelog.outputs.content }}
draft: false
prerelease: false