Skip to content

Commit 817f853

Browse files
committed
[devops] remove self-contained single-file publish, package all build output
1 parent 4cf6f44 commit 817f853

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,20 @@ jobs:
3333
dotnet publish src/EtcdTerminal.App/ \
3434
--configuration Release \
3535
--runtime linux-x64 \
36-
--self-contained \
37-
-p:PublishSingleFile=true \
3836
-o publish/linux-x64
3937
4038
- name: Publish win-x64
4139
run: |
4240
dotnet publish src/EtcdTerminal.App/ \
4341
--configuration Release \
4442
--runtime win-x64 \
45-
--self-contained \
46-
-p:PublishSingleFile=true \
4743
-o publish/win-x64
4844
4945
- name: Package linux-x64
50-
run: tar czf etcd-terminal-linux-x64.tar.gz -C publish/linux-x64 etcd-terminal
46+
run: tar czf etcd-terminal-linux-x64.tar.gz -C publish/linux-x64 .
5147

5248
- name: Package win-x64
53-
run: zip -j etcd-terminal-win-x64.zip publish/win-x64/etcd-terminal.exe
49+
run: cd publish/win-x64 && zip -r ../../etcd-terminal-win-x64.zip .
5450

5551
- name: Upload artifacts
5652
uses: actions/upload-artifact@v7

0 commit comments

Comments
 (0)