Skip to content

Commit 8c2e83e

Browse files
committed
Strip linux binary
1 parent 4ddbc73 commit 8c2e83e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
with:
1717
command: build
1818
args: --release
19+
- name: Strip binary
20+
run: |
21+
strip target/release/rust-deploy-test
1922
- name: Upload artifact
2023
uses: actions/upload-artifact@v1
2124
with:
@@ -70,17 +73,17 @@ jobs:
7073
uses: actions/download-artifact@v1
7174
with:
7275
name: linux64.bin
73-
path: dist_linux/rust-deploy-test
76+
path: dist_linux
7477
- name: Get Mac build
7578
uses: actions/download-artifact@v1
7679
with:
7780
name: macos.bin
78-
path: dist_mac/rust-deploy-test
81+
path: dist_mac
7982
- name: Get Windows build
8083
uses: actions/download-artifact@v1
8184
with:
8285
name: windows.bin
83-
path: dist_windows/rust-deploy-test.exe
86+
path: dist_windows
8487
- name: Prepare archives
8588
run: |
8689
tar -C dist_linux -Jcvf rust-deploy-test.linux.tar.bz2 .
@@ -90,10 +93,11 @@ jobs:
9093
cd ..
9194
9295
ls
93-
- name: Release main
96+
- name: Release latest
9497
uses: softprops/action-gh-release@v1
9598
if: ${{ github.ref == 'refs/heads/main' }}
9699
with:
100+
name: Latest commit
97101
tag_name: latest
98102
prerelease: true
99103
files: |

0 commit comments

Comments
 (0)