Update .gitea/workflows/release.yml
Some checks failed
Release / meta (push) Successful in 2s
Release / android-build (push) Failing after 1m55s
Release / linux-build (push) Failing after 2m4s
Release / windows-build (push) Has been cancelled
Release / release-dev (push) Has been cancelled
Release / release-master (push) Has been cancelled
Some checks failed
Release / meta (push) Successful in 2s
Release / android-build (push) Failing after 1m55s
Release / linux-build (push) Failing after 2m4s
Release / windows-build (push) Has been cancelled
Release / release-dev (push) Has been cancelled
Release / release-master (push) Has been cancelled
This commit is contained in:
@@ -268,4 +268,21 @@ jobs:
|
||||
FILES="artifacts/app-${BASE}.apk"
|
||||
FILES="${FILES}"$'\n'"artifacts/app-linux-x64-${BASE}.tar.gz"
|
||||
if [ -f "artifacts/app-windows-x64-${BASE}.zip" ]; then
|
||||
::contentReference[oaicite:0]{index=0}
|
||||
FILES="${FILES}"$'\n'"artifacts/app-windows-x64-${BASE}.zip"
|
||||
fi
|
||||
|
||||
{
|
||||
echo "tag=${TAG}"
|
||||
echo 'files<<EOF'
|
||||
printf '%s\n' "$FILES"
|
||||
echo 'EOF'
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Create release on Gitea
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
tag: ${{ steps.bundle.outputs.tag }}
|
||||
name: ${{ steps.bundle.outputs.tag }}
|
||||
prerelease: false
|
||||
token: ${{ secrets.GITEA_TOKEN }}
|
||||
artifacts: ${{ steps.bundle.outputs.files }}
|
||||
|
||||
Reference in New Issue
Block a user