Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
feat: restore release of non-.deb linux binaries (#17)
Browse files Browse the repository at this point in the history
also add `.vscode` to `.gitignore`
  • Loading branch information
Daniel-Bloom-dfinity authored Feb 9, 2022
1 parent 6574ca4 commit 93cf29f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ jobs:
os: [ ubuntu-latest, macos-latest ]
include:
- os: macos-latest
binary_path: target/release
name: macos
- os: ubuntu-latest
binary_path: target/x86_64-unknown-linux-musl/release
name: linux

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -59,8 +63,7 @@ jobs:
if: contains(matrix.os, 'macos')

- name: Create tarball of binaries
run: tar -zcC target/release -f binaries.tar.gz icx-proxy
if: contains(matrix.os, 'macos')
run: tar -zcC ${{ matrix.binary_path }} -f binaries.tar.gz icx-proxy

- name: Upload tarball
uses: svenstaro/upload-release-action@v2
Expand All @@ -69,7 +72,6 @@ jobs:
file: binaries.tar.gz
asset_name: binaries-${{ matrix.name }}.tar.gz
tag: ${{ env.SHA_SHORT }}
if: contains(matrix.os, 'macos')

- name: Upload deb
uses: svenstaro/upload-release-action@v2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store

.vscode

/.idea/

Expand Down

0 comments on commit 93cf29f

Please sign in to comment.