Skip to content

Commit e47ef79

Browse files
authored
fix: ci (#130)
1 parent 471984a commit e47ef79

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

.github/workflows/release.yml

+15-12
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ jobs:
8181
run: |
8282
ls -l
8383
84-
- name: Upload artifact
85-
uses: actions/upload-artifact@v3
84+
- name: Upload src artifact
85+
uses: actions/upload-artifact@v4
8686
with:
8787
# Artifact name
8888
name: wechat-devtools-${{ matrix.ARCH }}.src
8989
path: tmp/src
9090

91-
- name: Upload artifact
92-
uses: actions/upload-artifact@v3
91+
- name: Upload build artifact
92+
uses: actions/upload-artifact@v4
9393
with:
9494
# Artifact name
9595
name: wechat-devtools-${{ matrix.ARCH }}.build
@@ -110,8 +110,11 @@ jobs:
110110
steps:
111111
- uses: actions/checkout@v2
112112
- name: Download artifacts
113-
uses: actions/download-artifact@v3
114-
113+
uses: actions/download-artifact@v4
114+
- name: Inspect directory after downloading artifacts
115+
run: |
116+
ls -alFR wechat-devtools-*.build
117+
ls -alFR wechat-devtools-*.src
115118
- name: Prepare
116119
run: |
117120
sudo apt install -y fuse
@@ -145,10 +148,10 @@ jobs:
145148
ls -l
146149
147150
- name: Upload artifact
148-
uses: actions/upload-artifact@v3
151+
uses: actions/upload-artifact@v4
149152
with:
150153
# Artifact name
151-
name: wechat-devtools-${{ matrix.ARCH }}.build
154+
name: wechat-devtools-simple-${{ matrix.ARCH }}.build
152155
path: tmp/build
153156

154157
build-deb:
@@ -165,7 +168,7 @@ jobs:
165168
steps:
166169
- uses: actions/checkout@v2
167170
- name: Download artifacts
168-
uses: actions/download-artifact@v3
171+
uses: actions/download-artifact@v4
169172

170173
- name: Generate TAG
171174
id: Tag
@@ -203,10 +206,10 @@ jobs:
203206
env WINE=false tools/build-deepin.sh ${{ steps.tag.outputs.tag }}
204207
205208
- name: Upload artifact
206-
uses: actions/upload-artifact@v3
209+
uses: actions/upload-artifact@v4
207210
with:
208211
# Artifact name
209-
name: wechat-devtools-${{ matrix.ARCH }}.build
212+
name: wechat-devtools-deb-${{ matrix.ARCH }}.build
210213
path: tmp/build
211214

212215
upload:
@@ -219,7 +222,7 @@ jobs:
219222
runs-on: ubuntu-latest
220223
steps:
221224
- name: Download artifacts
222-
uses: actions/download-artifact@v3
225+
uses: actions/download-artifact@v4
223226
- name: Inspect directory after downloading artifacts
224227
run: ls -alFR
225228

0 commit comments

Comments
 (0)