Skip to content

installation script provided #4

installation script provided

installation script provided #4

Workflow file for this run

name: release
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 25
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '25'
cache: maven
- name: Build
run: mvn -B clean package
- name: Read version
id: tag
run: echo "tag=v$(cat src/main/resources/version.txt | tr -d '[:space:]')" >> "$GITHUB_OUTPUT"
- name: Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ steps.tag.outputs.tag }}
run: |
gh release create "$TAG" \
--target "$GITHUB_SHA" \
--title "$TAG" \
--generate-notes \
target/zb.jar src/main/sh/zb.sh