Skip to content

Commit

Permalink
Update tar bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Grégoire Henry committed Nov 14, 2023
1 parent a6186d3 commit 9931f52
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Check code can compile

on:
push:
branch:
branches:
- '**'

jobs:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,16 @@ jobs:
run: sudo apt install -y libsdl2-dev

- name: Build
run: cargo build && strip target/debug/kalast
run: cargo build && strip target/release/kalast

- name: Make bundle
run: |
mkdir -p bin/ubuntu
cp -r examples bin/ubuntu
cp -r target/debug/kalast bin/ubuntu
tar czf kalast-${{ github.ref_name }}-tar.gz bin/ubuntu
cp -r target/release/kalast bin/ubuntu
cd bin/ubuntu
cp -r example/thermal/cfg .
tar cvzf kalast-${{ github.ref_name }}-tar.gz *
- name: Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 9931f52

Please sign in to comment.