mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-07 06:42:49 +08:00
📦 Chore(custom): update test build action
This commit is contained in:
41
.github/workflows/test-build.yml
vendored
41
.github/workflows/test-build.yml
vendored
@@ -85,41 +85,40 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
- name: Upload Windows artifacts
|
- name: Upload Windows executables with original names
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: piclist-windows-${{ github.sha }}
|
name: windows-executables
|
||||||
path: |
|
path: |
|
||||||
dist_electron/*.exe
|
dist_electron/PicList-Setup-*.exe
|
||||||
dist_electron/*.msi
|
dist_electron/*.exe.blockmap
|
||||||
dist_electron/*.zip
|
|
||||||
retention-days: 30
|
retention-days: 30
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload macOS artifacts
|
- name: Upload macOS packages with original names
|
||||||
if: matrix.os == 'macos-13'
|
if: matrix.os == 'macos-13'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: piclist-macos-${{ github.sha }}
|
name: macos-packages
|
||||||
path: |
|
path: |
|
||||||
dist_electron/*.dmg
|
dist_electron/PicList-*.dmg
|
||||||
dist_electron/*.zip
|
dist_electron/PicList-*.zip
|
||||||
dist_electron/*.pkg
|
dist_electron/*.dmg.blockmap
|
||||||
|
dist_electron/*.zip.blockmap
|
||||||
retention-days: 30
|
retention-days: 30
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload Linux artifacts
|
- name: Upload Linux packages with original names
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: piclist-linux-${{ github.sha }}
|
name: linux-packages
|
||||||
path: |
|
path: |
|
||||||
dist_electron/*.AppImage
|
dist_electron/PicList-*.AppImage
|
||||||
dist_electron/*.deb
|
dist_electron/PicList-*.snap
|
||||||
dist_electron/*.rpm
|
dist_electron/PicList-*.deb
|
||||||
dist_electron/*.tar.gz
|
dist_electron/PicList-*.rpm
|
||||||
|
dist_electron/PicList-*.tar.gz
|
||||||
retention-days: 30
|
retention-days: 30
|
||||||
|
if-no-files-found: ignore
|
||||||
- name: List build output (Debug)
|
|
||||||
run: |
|
|
||||||
echo "Contents of dist_electron directory:"
|
|
||||||
ls -la dist_electron/ || echo "dist_electron directory not found"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user