release workflow
This commit is contained in:
parent
bf83631e26
commit
8baa9811d3
23
.gitea/workflows/release.yaml
Normal file
23
.gitea/workflows/release.yaml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
name: release
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
name: release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
- uses: extractions/setup-just@v2
|
||||||
|
- run: cd axum_server && just export
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: dist
|
||||||
|
path: axum_server/dist/
|
||||||
|
retention-days: 10
|
||||||
|
|
||||||
|
|
@ -8,4 +8,5 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
- run: cd axum_server && cargo test --all-features
|
- run: cd axum_server && cargo test --all-features
|
||||||
|
Loading…
Reference in New Issue
Block a user