@@ -78,11 +78,11 @@ jobs:
78
78
--mount type=bind,source="$(pwd)",target=/workspace \
79
79
amazonlinux:2 \
80
80
-eux -c "$cmd"
81
- - uses : actions/upload-artifact@main
81
+ - uses : actions/upload-artifact@v4
82
82
with :
83
83
name : artifact-bootstrap
84
84
path : work/bootstrap
85
- - uses : actions/upload-artifact@main
85
+ - uses : actions/upload-artifact@v4
86
86
with :
87
87
name : build-number
88
88
path : work/BUILD_NUMBER
93
93
- uses : actions/checkout@main
94
94
- run : uglifyjs/build-image
95
95
- run : uglifyjs/run-nexe
96
- - uses : actions/upload-artifact@main
96
+ - uses : actions/upload-artifact@v4
97
97
with :
98
98
name : artifact-uglifyjs
99
99
path : work/uglifyjs
@@ -103,11 +103,11 @@ jobs:
103
103
runs-on : ubuntu-20.04
104
104
steps :
105
105
- uses : actions/checkout@main
106
- - uses : actions/download-artifact@main
106
+ - uses : actions/download-artifact@v4
107
107
with :
108
108
name : artifact-bootstrap
109
109
path : work
110
- - uses : actions/download-artifact@main
110
+ - uses : actions/download-artifact@v4
111
111
with :
112
112
name : artifact-uglifyjs
113
113
path : work
@@ -126,9 +126,9 @@ jobs:
126
126
TEST_SECRET_ACCESS_KEY : ${{secrets.AWS_TEST_SECRET_ACCESS_KEY}}
127
127
- run : go get github.com/jstemmer/go-junit-report
128
128
- 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
130
130
- run : go-junit-report < work/test.log > work/report.xml
131
- - uses : actions/upload-artifact@main
131
+ - uses : actions/upload-artifact@v4
132
132
with :
133
133
name : report.xml
134
134
path : work/report.xml
@@ -145,15 +145,15 @@ jobs:
145
145
- build-uglifyjs
146
146
runs-on : ubuntu-20.04
147
147
steps :
148
- - uses : actions/download-artifact@main
148
+ - uses : actions/download-artifact@v4
149
149
with :
150
150
name : artifact-bootstrap
151
- - uses : actions/download-artifact@main
151
+ - uses : actions/download-artifact@v4
152
152
with :
153
153
name : artifact-uglifyjs
154
154
- run : chmod +x bootstrap uglifyjs
155
155
- run : zip -j imgconv.zip ./bootstrap ./uglifyjs
156
- - uses : actions/upload-artifact@main
156
+ - uses : actions/upload-artifact@v4
157
157
with :
158
158
name : artifact-imgconv
159
159
path : imgconv.zip
@@ -165,10 +165,10 @@ jobs:
165
165
if : github.ref == 'refs/heads/master'
166
166
runs-on : ubuntu-20.04
167
167
steps :
168
- - uses : actions/download-artifact@main
168
+ - uses : actions/download-artifact@v4
169
169
with :
170
170
name : artifact-imgconv
171
- - uses : actions/download-artifact@main
171
+ - uses : actions/download-artifact@v4
172
172
with :
173
173
name : build-number
174
174
- name : set BUILD_NUMBER
0 commit comments