summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 5b2fc26..9201f1e 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -45,13 +45,15 @@ jobs:
id: build_zip
if: matrix.archive == 'zip'
run: |
- zip ${{ matrix.output }} target/release/foo.exe
+ cp target/release/foo.exe .
+ 7z a ${{ matrix.output }} target/release/foo.exe
- name: Build TAR
id: build_tar
if: matrix.archive == 'tar'
run: |
- tar czvf ${{ matrix.output }} target/release/foo
+ cp target/release/foo .
+ tar czvf ../../${{ matrix.output }} target/release/foo
- name: Create Release
id: create_release