Skip to content

Commit a251848

Browse files
committed
fix: Workflow long run times
1 parent ace56b5 commit a251848

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,11 @@ jobs:
1717
- name: Build Application
1818
run: |
1919
go get -u && go mod tidy
20-
CGO_ENABLED=0 go build -o render
21-
22-
- name: Install Upx
23-
run: |
24-
sudo apt-get install upx
20+
CGO_ENABLED=0 go build -ldflags "-s -w" -o render
2521
2622
- name: Pack with Upx
2723
run: |
28-
upx --best render -o liman_render
24+
upx render -o liman_render
2925
3026
- name: Create Zip
3127
run: |

0 commit comments

Comments
 (0)