aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml6
1 files 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/')