diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 7d8659e..94378a3 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -3,7 +3,7 @@ name: Release on: push: tags: - - 'v*.*.*' + - "v*.*.*" jobs: build_release: @@ -22,6 +22,11 @@ jobs: - name: Build release run: | cargo build --release + + - name: Package frontend + run: | + zip -r static.zip static + - name: Generate a changelog uses: orhun/git-cliff-action@v4 id: git-cliff @@ -31,8 +36,10 @@ jobs: github_token: "" env: OUTPUT: CHANGELOG.md + - uses: akkuman/gitea-release-action@v1 with: files: |- target/release/weight_tracker - body: Release build for weight_tracker + static.zip + body: ${{ steps.git-cliff.outputs.content }}