chore: add static folder to build artifacts
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user