Compare commits
3 commits
08002cfb08
...
5bfcd0b6ea
Author | SHA1 | Date | |
---|---|---|---|
5bfcd0b6ea | |||
70337bda40 | |||
ff4b4b0f07 |
1 changed files with 8 additions and 5 deletions
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
|
@ -3,8 +3,7 @@ name: Release
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
tags: '2*'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
@ -16,6 +15,7 @@ jobs:
|
|||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
LC_TIME: en_US.UTF-8
|
||||
TODAY: $(date +'%d %b %Y')
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -23,16 +23,19 @@ jobs:
|
|||
- name: Build with Gradle
|
||||
run: ./gradlew assembleDist
|
||||
|
||||
- uses: actions/forgejo-release@v2
|
||||
- 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
|
||||
|
||||
- name: Create release
|
||||
- name: Create release at GitHub
|
||||
# FIXME: Currently only outputs gh command; adapt for Forgejo
|
||||
run: |
|
||||
echo gh release create "$GITHUB_REF_NAME" \
|
||||
|
@ -40,7 +43,7 @@ jobs:
|
|||
--title "$(date +'%d %b %Y')" \
|
||||
--generate-notes
|
||||
|
||||
- name: Upload assets
|
||||
- name: Upload release assets to GitHub
|
||||
# FIXME: Currently only outputs gh command; adapt for Forgejo
|
||||
run: |
|
||||
echo gh release upload "$GITHUB_REF_NAME" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue