Skip to content

Commit

Permalink
use makefile and timeout in release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Prendes <[email protected]>
  • Loading branch information
jprendes committed Sep 21, 2023
1 parent c2c6d14 commit 37fbcf7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,11 @@ jobs:
with:
cache: false
- name: Build
run: cargo build --verbose --package ${{ needs.generate.outputs.crate }}
timeout-minutes: 5
run: make build-$(cut -d- -f3 <<<"${{ needs.generate.outputs.crate }}")
- name: Test
run: cargo test --verbose --package ${{ needs.generate.outputs.crate }}
timeout-minutes: 5
run: make test-$(cut -d- -f3 <<<"${{ needs.generate.outputs.crate }}")

release:
permissions:
Expand Down

0 comments on commit 37fbcf7

Please sign in to comment.