Skip to content

Commit 2f77cf6

Browse files
fix: 修复deb没上传的bug
1 parent 3a9addc commit 2f77cf6

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,17 @@ jobs:
187187
CONTROLEOF
188188
189189
dpkg-deb --root-owner-group --build "${PKG}"
190-
mv "build/deb/${APP_NAME}.deb" "AssignSticker-${APP_VERSION}-amd64.deb"
190+
mkdir -p release
191+
mv "build/deb/${APP_NAME}.deb" "release/AssignSticker-${APP_VERSION}-amd64.deb"
192+
ls -lah release
191193
192194
- name: Upload Linux artifact
193195
uses: actions/upload-artifact@v4
194196
with:
195197
name: AssignSticker-linux-x64
196198
path: |
197199
release/AssignSticker-linux-x64-*.zip
198-
AssignSticker-*-amd64.deb
200+
release/AssignSticker-*-amd64.deb
199201
if-no-files-found: error
200202

201203
release:
@@ -244,8 +246,8 @@ jobs:
244246
with:
245247
tag_name: ${{ steps.rel.outputs.tag }}
246248
files: |
247-
artifacts/windows/*
248-
artifacts/linux/*
249+
artifacts/windows/**/*
250+
artifacts/linux/**/*
249251
draft: false
250252
prerelease: false
251253
generate_release_notes: true

0 commit comments

Comments
 (0)