From 24d1d29944bba7f5e0551a3313f1061f24265726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobi=20Sch=C3=A4fer?= Date: Sat, 15 Feb 2025 17:34:58 +0100 Subject: [PATCH] Initial commit --- .github/workflows/release.yml | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..f5ed8bf6 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,36 @@ +name: Release + +on: + workflow_dispatch: + push: + tags: '2*' + +permissions: + contents: write + +jobs: + build: + runs-on: antville + + env: + GH_TOKEN: ${{ github.token }} + LC_TIME: en_US.UTF-8 + TODAY: $(date +'%d %b %Y') + + steps: + - uses: actions/checkout@v4 + + - name: Build with Gradle + run: ./gradlew assembleDist + + - name: Create release + uses: actions/forgejo-release@v2 + with: + direction: upload + url: https://code.host.antville.org + token: ${{ github.token }} + title: ${{ env.TODAY }} + #tag: $(date +'%Y.%m.%d') + release-dir: build/distributions + release-notes-assistant: true + verbose: true