Skip to content

Commit cfa511a

Browse files
committed
Fix build error
1 parent b64416e commit cfa511a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/build.yml

+12-12
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@main
81+
- uses: actions/upload-artifact@v4
8282
with:
8383
name: artifact-bootstrap
8484
path: work/bootstrap
85-
- uses: actions/upload-artifact@main
85+
- uses: actions/upload-artifact@v4
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@main
96+
- uses: actions/upload-artifact@v4
9797
with:
9898
name: artifact-uglifyjs
9999
path: work/uglifyjs
@@ -103,11 +103,11 @@ jobs:
103103
runs-on: ubuntu-20.04
104104
steps:
105105
- uses: actions/checkout@main
106-
- uses: actions/download-artifact@main
106+
- uses: actions/download-artifact@v4
107107
with:
108108
name: artifact-bootstrap
109109
path: work
110-
- uses: actions/download-artifact@main
110+
- uses: actions/download-artifact@v4
111111
with:
112112
name: artifact-uglifyjs
113113
path: work
@@ -126,9 +126,9 @@ jobs:
126126
TEST_SECRET_ACCESS_KEY: ${{secrets.AWS_TEST_SECRET_ACCESS_KEY}}
127127
- run: go get github.com/jstemmer/go-junit-report
128128
- run: go install github.com/jstemmer/go-junit-report
129-
- run: go test -v ./bootstrap 2>&1 | tee work/test.log
129+
- run: go test -v ./imgconv 2>&1 | tee work/test.log
130130
- run: go-junit-report < work/test.log > work/report.xml
131-
- uses: actions/upload-artifact@main
131+
- uses: actions/upload-artifact@v4
132132
with:
133133
name: report.xml
134134
path: work/report.xml
@@ -145,15 +145,15 @@ jobs:
145145
- build-uglifyjs
146146
runs-on: ubuntu-20.04
147147
steps:
148-
- uses: actions/download-artifact@main
148+
- uses: actions/download-artifact@v4
149149
with:
150150
name: artifact-bootstrap
151-
- uses: actions/download-artifact@main
151+
- uses: actions/download-artifact@v4
152152
with:
153153
name: artifact-uglifyjs
154154
- run: chmod +x bootstrap uglifyjs
155155
- run: zip -j imgconv.zip ./bootstrap ./uglifyjs
156-
- uses: actions/upload-artifact@main
156+
- uses: actions/upload-artifact@v4
157157
with:
158158
name: artifact-imgconv
159159
path: imgconv.zip
@@ -165,10 +165,10 @@ jobs:
165165
if: github.ref == 'refs/heads/master'
166166
runs-on: ubuntu-20.04
167167
steps:
168-
- uses: actions/download-artifact@main
168+
- uses: actions/download-artifact@v4
169169
with:
170170
name: artifact-imgconv
171-
- uses: actions/download-artifact@main
171+
- uses: actions/download-artifact@v4
172172
with:
173173
name: build-number
174174
- name: set BUILD_NUMBER

0 commit comments

Comments
 (0)