ci: fix forgejo-release invocation — direction: upload + release-dir
The action requires 'direction: upload' (was implicit) and a 'release-dir' path to scan. Without these it errors out with 'need upload or download argument got nothing'.
This commit is contained in:
@@ -131,11 +131,9 @@ jobs:
|
|||||||
uses: https://code.forgejo.org/actions/forgejo-release@v1
|
uses: https://code.forgejo.org/actions/forgejo-release@v1
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
|
direction: upload
|
||||||
url: ${{ github.server_url }}
|
url: ${{ github.server_url }}
|
||||||
repo: ${{ github.repository }}
|
repo: ${{ github.repository }}
|
||||||
token: ${{ secrets.RELEASE_TOKEN }}
|
token: ${{ secrets.RELEASE_TOKEN }}
|
||||||
tag: ${{ github.ref_name }}
|
tag: ${{ github.ref_name }}
|
||||||
files: |
|
release-dir: standalone/build/libs
|
||||||
standalone/build/libs/standalone-*-all.jar
|
|
||||||
agentik-cli/build/libs/agentik-cli-*-all.jar
|
|
||||||
agentik-tui/build/libs/agentik-tui-*-all.jar
|
|
||||||
|
|||||||
Reference in New Issue
Block a user