Skip to content

Commit ce9ae3f

Browse files
committed
Fix build error
1 parent cfa511a commit ce9ae3f

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

.github/workflows/build.yml

+10-14
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ jobs:
7878
--mount type=bind,source="$(pwd)",target=/workspace \
7979
amazonlinux:2 \
8080
-eux -c "$cmd"
81-
- uses: actions/upload-artifact@v4
81+
- uses: actions/upload-artifact@main
8282
with:
8383
name: artifact-bootstrap
8484
path: work/bootstrap
85-
- uses: actions/upload-artifact@v4
85+
- uses: actions/upload-artifact@main
8686
with:
8787
name: build-number
8888
path: work/BUILD_NUMBER
@@ -93,7 +93,7 @@ jobs:
9393
- uses: actions/checkout@main
9494
- run: uglifyjs/build-image
9595
- run: uglifyjs/run-nexe
96-
- uses: actions/upload-artifact@v4
96+
- uses: actions/upload-artifact@main
9797
with:
9898
name: artifact-uglifyjs
9999
path: work/uglifyjs
@@ -103,11 +103,7 @@ jobs:
103103
runs-on: ubuntu-20.04
104104
steps:
105105
- uses: actions/checkout@main
106-
- uses: actions/download-artifact@v4
107-
with:
108-
name: artifact-bootstrap
109-
path: work
110-
- uses: actions/download-artifact@v4
106+
- uses: actions/download-artifact@main
111107
with:
112108
name: artifact-uglifyjs
113109
path: work
@@ -128,7 +124,7 @@ jobs:
128124
- run: go install github.com/jstemmer/go-junit-report
129125
- run: go test -v ./imgconv 2>&1 | tee work/test.log
130126
- run: go-junit-report < work/test.log > work/report.xml
131-
- uses: actions/upload-artifact@v4
127+
- uses: actions/upload-artifact@main
132128
with:
133129
name: report.xml
134130
path: work/report.xml
@@ -145,15 +141,15 @@ jobs:
145141
- build-uglifyjs
146142
runs-on: ubuntu-20.04
147143
steps:
148-
- uses: actions/download-artifact@v4
144+
- uses: actions/download-artifact@main
149145
with:
150146
name: artifact-bootstrap
151-
- uses: actions/download-artifact@v4
147+
- uses: actions/download-artifact@main
152148
with:
153149
name: artifact-uglifyjs
154150
- run: chmod +x bootstrap uglifyjs
155151
- run: zip -j imgconv.zip ./bootstrap ./uglifyjs
156-
- uses: actions/upload-artifact@v4
152+
- uses: actions/upload-artifact@main
157153
with:
158154
name: artifact-imgconv
159155
path: imgconv.zip
@@ -165,10 +161,10 @@ jobs:
165161
if: github.ref == 'refs/heads/master'
166162
runs-on: ubuntu-20.04
167163
steps:
168-
- uses: actions/download-artifact@v4
164+
- uses: actions/download-artifact@main
169165
with:
170166
name: artifact-imgconv
171-
- uses: actions/download-artifact@v4
167+
- uses: actions/download-artifact@main
172168
with:
173169
name: build-number
174170
- name: set BUILD_NUMBER

0 commit comments

Comments
 (0)