chore: add static folder to build artifacts
This commit is contained in:
@@ -3,7 +3,7 @@ name: Release
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*.*.*'
|
- "v*.*.*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_release:
|
build_release:
|
||||||
@@ -22,6 +22,11 @@ jobs:
|
|||||||
- name: Build release
|
- name: Build release
|
||||||
run: |
|
run: |
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
||||||
|
- name: Package frontend
|
||||||
|
run: |
|
||||||
|
zip -r static.zip static
|
||||||
|
|
||||||
- name: Generate a changelog
|
- name: Generate a changelog
|
||||||
uses: orhun/git-cliff-action@v4
|
uses: orhun/git-cliff-action@v4
|
||||||
id: git-cliff
|
id: git-cliff
|
||||||
@@ -31,8 +36,10 @@ jobs:
|
|||||||
github_token: ""
|
github_token: ""
|
||||||
env:
|
env:
|
||||||
OUTPUT: CHANGELOG.md
|
OUTPUT: CHANGELOG.md
|
||||||
|
|
||||||
- uses: akkuman/gitea-release-action@v1
|
- uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
files: |-
|
files: |-
|
||||||
target/release/weight_tracker
|
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