Skip to content

Commit 82595a4

Browse files
committed
Improve future debuggability of release_aur job
1 parent 377edd7 commit 82595a4

1 file changed

Lines changed: 15 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,10 @@ jobs:
304304
with:
305305
path: './artifacts'
306306

307+
- name: Display structure of downloaded files
308+
run: ls -R
309+
working-directory: './artifacts'
310+
307311
- name: Prepare PKGBUILD files
308312
run: |
309313
_obfuscate() {
@@ -357,6 +361,17 @@ jobs:
357361
358362
done
359363
364+
- name: Upload PKGBUILD files
365+
uses: actions/upload-artifact@v4
366+
with:
367+
name: PKGBUILDs
368+
path: |
369+
${{ env.PKGBUILD_BIN }}
370+
${{ env.PKGBUILD }}
371+
${{ env.PKGBUILD_GIT }}
372+
retention-days: 5
373+
if-no-files-found: error
374+
360375
- name: Publish AUR package github-desktop-plus-bin
361376
uses: KSXGitHub/github-actions-deploy-aur@v4.1.1
362377
with:
@@ -405,17 +420,6 @@ jobs:
405420
'Update AUR package to version v${{ env.APP_VERSION }}'
406421
ssh_keyscan_types: rsa,ecdsa,ed25519
407422

408-
- name: Upload PKGBUILD files
409-
uses: actions/upload-artifact@v4
410-
with:
411-
name: PKGBUILDs
412-
path: |
413-
${{ env.PKGBUILD_BIN }}
414-
${{ env.PKGBUILD }}
415-
${{ env.PKGBUILD_GIT }}
416-
retention-days: 5
417-
if-no-files-found: error
418-
419423
release_rpm:
420424
name: Publish RPM package
421425
needs: release_github

0 commit comments

Comments
 (0)