Skip to content

add pythonpath to script env #13

add pythonpath to script env

add pythonpath to script env #13

name: Publish Release Artifacts
on:
push:
tags:
- v*
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: corretto
cache: gradle
- name: Build
run: ./gradlew --no-daemon clean test shadowJar
env:
GITHUB_USERNAME: ${{ secrets.GITHUB_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v2
with:
draft: true
files: service/build/libs/service.jar
generate_release_notes: true