From 9a918ed1fa0ef3e1cd55552724b18e0ca300aaf1 Mon Sep 17 00:00:00 2001 From: Techno Duck Date: Thu, 14 Sep 2023 10:07:00 -0400 Subject: [PATCH] more actions fixes --- .forgejo/workflows/rust.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/rust.yaml b/.forgejo/workflows/rust.yaml index abed3a9..abc4c43 100644 --- a/.forgejo/workflows/rust.yaml +++ b/.forgejo/workflows/rust.yaml @@ -15,13 +15,18 @@ jobs: - name: Setup toolchian uses: https://github.com/dtolnay/rust-toolchain@stable - name: Build - run: cargo build --release --verbose + run: | + cargo build --release + cp target/release/iss_locator iss_locator + chmod +x iss_locator + xz --keep -9 iss_locator + shasum -a 256 iss_locator > iss_locator.sha256 + shasum -a 256 iss_locator.xz > iss_locator.xz.sha256 - name: Upload release uses: actions/forgejo-release@v1 with: direction: upload url: https://git.technoduck.me - release-dir: release token: ${{secrets.app_token}} verbose: true