From 9931f52de52198981a1719501a424af17d316109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Henry?= Date: Tue, 14 Nov 2023 16:14:47 +0100 Subject: [PATCH] Update tar bundle --- .github/workflows/check.yml | 2 +- .github/workflows/release.yml | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index e7f84bb..670217c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -2,7 +2,7 @@ name: Check code can compile on: push: - branch: + branches: - '**' jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c83bc3a..75c83b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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