summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2019-10-21 20:04:26 +0300
committerYuval Adam <_@yuv.al>2019-10-21 20:04:26 +0300
commitae27d66060e6a4ffb957aecc05ab143500d89c37 (patch)
tree50bbb30154885fe6740f4d734ad481480d6c4224 /.github/workflows/release.yml
parent4914ec328d654148e86e32a80e957c5e350a9a56 (diff)
fixv5
Diffstat (limited to '.github/workflows/release.yml')
-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