parent
9dccba2581
commit
08002cfb08
1 changed files with 23 additions and 16 deletions
39
.github/workflows/release.yml
vendored
39
.github/workflows/release.yml
vendored
|
@ -18,10 +18,15 @@ jobs:
|
|||
LC_TIME: en_US.UTF-8
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
# - uses: actions/checkout@v4
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew assembleDist
|
||||
# - name: Build with Gradle
|
||||
# run: ./gradlew assembleDist
|
||||
|
||||
- name: Create bogus release
|
||||
run: |
|
||||
mkdir -p build/distributions
|
||||
touch build/distributions/hogus-bogus.zip
|
||||
|
||||
- name: Create release
|
||||
uses: actions/forgejo-release@v2
|
||||
|
@ -29,21 +34,23 @@ jobs:
|
|||
direction: upload
|
||||
url: https://code.host.antville.org
|
||||
token: ${{ github.token }}
|
||||
title: $(date +'%d %b %Y')
|
||||
#tag: $(date +'%Y.%m.%d')
|
||||
release-dir: build/distributions
|
||||
release-notes-assistant: true
|
||||
verbose: true
|
||||
|
||||
- name: Create release at GitHub
|
||||
# FIXME: Currently only outputs gh command; adapt for Forgejo
|
||||
run: |
|
||||
echo gh release create "$GITHUB_REF_NAME" \
|
||||
--repo "$GITHUB_REPOSITORY" \
|
||||
--title "$(date +'%d %b %Y')" \
|
||||
--generate-notes
|
||||
# - name: Create release at GitHub
|
||||
# # FIXME: Currently only outputs gh command; adapt for Forgejo
|
||||
# run: |
|
||||
# echo gh release create "$GITHUB_REF_NAME" \
|
||||
# --repo "$GITHUB_REPOSITORY" \
|
||||
# --title "$(date +'%d %b %Y')" \
|
||||
# --generate-notes
|
||||
|
||||
- name: Upload release assets to GitHub
|
||||
# FIXME: Currently only outputs gh command; adapt for Forgejo
|
||||
run: |
|
||||
echo gh release upload "$GITHUB_REF_NAME" \
|
||||
build/distributions/helma-*.* \
|
||||
--clobber
|
||||
# - name: Upload release assets to GitHub
|
||||
# # FIXME: Currently only outputs gh command; adapt for Forgejo
|
||||
# run: |
|
||||
# echo gh release upload "$GITHUB_REF_NAME" \
|
||||
# build/distributions/helma-*.* \
|
||||
# --clobber
|
||||
|
|
Loading…
Add table
Reference in a new issue