summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-04-23 16:25:41 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-04-23 16:25:41 +0100
commitb05af88b4de238f1b53058bb4db97fe5ed6ec869 (patch)
treebcf412d084acd561da5e3066b1e1e59b0196b17e
parent5b5b13976e81736271a526574702c735bbaefafc (diff)
downloadsentrum-b05af88b4de238f1b53058bb4db97fe5ed6ec869.tar.gz
sentrum-b05af88b4de238f1b53058bb4db97fe5ed6ec869.tar.bz2
sentrum-b05af88b4de238f1b53058bb4db97fe5ed6ec869.zip
Fix release job
-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/')