This commit is contained in:
parent
a51e2557c9
commit
24d1d29944
1 changed files with 36 additions and 0 deletions
36
.github/workflows/release.yml
vendored
Normal file
36
.github/workflows/release.yml
vendored
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue