Compare commits
3 commits
156db3ee98
...
561551fd5f
Author | SHA1 | Date | |
---|---|---|---|
561551fd5f | |||
5e269c6e87 | |||
45f1f67707 |
1 changed files with 6 additions and 3 deletions
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -16,6 +16,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
LC_TIME: en_US.UTF-8
|
LC_TIME: en_US.UTF-8
|
||||||
|
TODAY: $(date +'%d %b %Y')
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
@ -23,16 +24,18 @@ jobs:
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew assembleDist
|
run: ./gradlew assembleDist
|
||||||
|
|
||||||
- uses: actions/forgejo-release@v2
|
- name: Create release
|
||||||
|
uses: actions/forgejo-release@v2
|
||||||
with:
|
with:
|
||||||
direction: upload
|
direction: upload
|
||||||
url: https://code.host.antville.org
|
url: https://code.host.antville.org
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
|
title: ${{ env.today }}
|
||||||
release-dir: build/distributions
|
release-dir: build/distributions
|
||||||
release-notes-assistant: true
|
release-notes-assistant: true
|
||||||
verbose: true
|
verbose: true
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release at GitHub
|
||||||
# FIXME: Currently only outputs gh command; adapt for Forgejo
|
# FIXME: Currently only outputs gh command; adapt for Forgejo
|
||||||
run: |
|
run: |
|
||||||
echo gh release create "$GITHUB_REF_NAME" \
|
echo gh release create "$GITHUB_REF_NAME" \
|
||||||
|
@ -40,7 +43,7 @@ jobs:
|
||||||
--title "$(date +'%d %b %Y')" \
|
--title "$(date +'%d %b %Y')" \
|
||||||
--generate-notes
|
--generate-notes
|
||||||
|
|
||||||
- name: Upload assets
|
- name: Upload release assets to GitHub
|
||||||
# FIXME: Currently only outputs gh command; adapt for Forgejo
|
# FIXME: Currently only outputs gh command; adapt for Forgejo
|
||||||
run: |
|
run: |
|
||||||
echo gh release upload "$GITHUB_REF_NAME" \
|
echo gh release upload "$GITHUB_REF_NAME" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue