release workflow
Some checks failed
release / release (push) Failing after 1m32s
test / cargo test (push) Failing after 2m21s

This commit is contained in:
Michal Vanko 2024-09-17 21:38:04 +02:00
parent bf83631e26
commit 8baa9811d3
2 changed files with 24 additions and 0 deletions

View 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

View File

@ -8,4 +8,5 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cd axum_server && cargo test --all-features