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

Commit 93cf29f

Browse files
feat: restore release of non-.deb linux binaries (#17)
also add `.vscode` to `.gitignore`
1 parent 6574ca4 commit 93cf29f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ jobs:
1515
os: [ ubuntu-latest, macos-latest ]
1616
include:
1717
- os: macos-latest
18+
binary_path: target/release
1819
name: macos
20+
- os: ubuntu-latest
21+
binary_path: target/x86_64-unknown-linux-musl/release
22+
name: linux
1923

2024
steps:
2125
- uses: actions/checkout@v2
@@ -59,8 +63,7 @@ jobs:
5963
if: contains(matrix.os, 'macos')
6064

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

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

7476
- name: Upload deb
7577
uses: svenstaro/upload-release-action@v2

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.DS_Store
22

3+
.vscode
34

45
/.idea/
56

0 commit comments

Comments
 (0)