CI: Don't double-archive builds

pull/3710/head
Stenzek 6 months ago
parent f1ae5b8bbb
commit 3004aa35e3
No known key found for this signature in database

@ -76,5 +76,5 @@ jobs:
with:
name: "${{ matrix.artifact }}"
path: "${{ matrix.asset }}"
compression-level: 0
archive: false
if-no-files-found: error

@ -97,6 +97,6 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: "linux-${{ matrix.arch }}-appimage"
path: "DuckStation-*.AppImage"
compression-level: 0
path: "DuckStation-${{ matrix.arch }}.AppImage"
archive: false
if-no-files-found: error

@ -70,5 +70,5 @@ jobs:
with:
name: "macos"
path: "build/duckstation-mac-release.zip"
compression-level: 0
archive: false
if-no-files-found: error

@ -42,10 +42,11 @@ jobs:
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
steps:
- name: Download Artifacts
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
path: ./artifacts/
merge-multiple: true
skip-decompress: true
- name: Display Downloaded Artifacts
run: find ./artifacts/ -type f | sort

@ -114,6 +114,14 @@ jobs:
run: |
"C:\Program Files\7-Zip\7z.exe" a -mx9 -r duckstation-windows-${{ matrix.arch }}-release-symbols.zip ./bin/${{ matrix.bindir }}/*.pdb
- name: Upload ${{ matrix.name }} Symbols Archive
uses: actions/upload-artifact@v7
with:
name: "windows-${{ matrix.arch }}"
path: "duckstation-windows-${{ matrix.arch }}-release-symbols.zip"
archive: false
if-no-files-found: error
- name: Remove Extra Bloat Before Archiving
shell: cmd
run: |
@ -131,6 +139,14 @@ jobs:
run: |
"C:\Program Files\7-Zip\7z.exe" a -mx9 -r ${{ matrix.assetname }} ./bin/${{ matrix.bindir }}/*
- name: Upload ${{ matrix.name }} Release Archive
uses: actions/upload-artifact@v7
with:
name: "windows-${{ matrix.arch }}"
path: "${{ matrix.assetname }}"
archive: false
if-no-files-found: error
- name: Create ${{ matrix.name }} Installer Archive
shell: cmd
run: |
@ -138,10 +154,10 @@ jobs:
copy /B ${{ matrix.installerassetname }}.tmp + installer.7z ${{ matrix.installerassetname }}
del /Q ${{ matrix.installerassetname }}.tmp
- name: Upload ${{ matrix.name }} Artifacts
- name: Upload ${{ matrix.name }} Installer Archive
uses: actions/upload-artifact@v7
with:
name: "windows-${{ matrix.arch }}"
path: "duckstation-windows-${{ matrix.arch }}-*.*"
compression-level: 0
path: "${{ matrix.installerassetname }}"
archive: false
if-no-files-found: error
Loading…
Cancel
Save