From 2c0a4f49a69f52afa49cc317d885156571e07a01 Mon Sep 17 00:00:00 2001 From: ahtlon Date: Sat, 11 Oct 2025 15:07:29 +0200 Subject: [PATCH] Change to release packaging --- .gitea/workflows/appbuild.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/appbuild.yml b/.gitea/workflows/appbuild.yml index b0c8f6e6c..93cbbdaab 100644 --- a/.gitea/workflows/appbuild.yml +++ b/.gitea/workflows/appbuild.yml @@ -2,8 +2,11 @@ name: Package build on: push: - branches: - - draggable + tags: + - 'mod*' + +permissions: + contents: write jobs: build: @@ -39,3 +42,12 @@ jobs: with: name: Deck app tarball path: build/artifacts/deck.tar.gz + - name: Attach tarball to release + uses: svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # v2 + id: attach_to_release + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: build/artifacts/deck.tar.gz + asset_name: deck.tar.gz + tag: ${{ github.ref }} + overwrite: true