From b05af88b4de238f1b53058bb4db97fe5ed6ec869 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 23 Apr 2024 16:25:41 +0100 Subject: Fix release job --- .github/workflows/release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62c1caa..fa70cca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,14 +30,12 @@ jobs: shell: bash run: | strip target/release/${{ matrix.bin }} - cd target/release if [[ "${{ matrix.os }}" == "windows-latest" ]] then - 7z a ../../${{ matrix.name }} ${{ matrix.bin }} sentrum.sample.toml contrib/sentrum.service + 7z a ../../${{ matrix.name }} target/release/${{ matrix.bin }} sentrum.sample.toml contrib/sentrum.service else - tar czvf ../../${{ matrix.name }} ${{ matrix.bin }} sentrum.sample.toml contrib/sentrum.service + tar czvf ../../${{ matrix.name }} target/release/${{ matrix.bin }} sentrum.sample.toml contrib/sentrum.service fi - cd - - name: Publish uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') -- cgit v1.2.3-70-g09d2