Skip to content

Commit bcdf723

Browse files
committed
Update upload-artifact action to v4 and add compression level
1 parent 234e108 commit bcdf723

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/build-backend.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ jobs:
5252
go build -ldflags '-linkmode external -extldflags "-static"' -o ../output/backend-linux-64
5353
5454
- name: "Upload build"
55-
uses: actions/upload-artifact@v3
55+
uses: actions/upload-artifact@v4
5656
with:
5757
name: backend-linux
5858
path: "${{env.BACKEND_DIR}}/output/*"
5959
retention-days: 3
60+
compression-level: 9
6061

6162
build-backend-windows:
6263
name: "Build backend for windows"
@@ -96,11 +97,12 @@ jobs:
9697
go build -o ..\output\backend-windows-64.exe
9798
9899
- name: "Upload build"
99-
uses: actions/upload-artifact@v3
100+
uses: actions/upload-artifact@v4
100101
with:
101102
name: backend-windows
102103
path: "${{env.BACKEND_DIR}}\\output\\*"
103104
retention-days: 3
105+
compression-level: 9
104106

105107
build-backend-mac:
106108
name: "Build backend for macOS"
@@ -149,8 +151,9 @@ jobs:
149151
go build -o ../output/backend-macos-m1-64
150152
151153
- name: "Upload build"
152-
uses: actions/upload-artifact@v3
154+
uses: actions/upload-artifact@v4
153155
with:
154156
name: backend-macos
155157
path: "${{env.BACKEND_DIR}}/output/*"
156158
retention-days: 3
159+
compression-level: 9

.github/workflows/build-ethernet-view.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ jobs:
4444

4545

4646
- name: "Upload build"
47-
uses: actions/upload-artifact@v3
47+
uses: actions/upload-artifact@v4
4848
with:
4949
name: ethernet-view
5050
path: "${{env.FRONTEND_DIR}}/static/*"
5151
retention-days: 3
52+
compression-level: 9

0 commit comments

Comments
 (0)