Update windows-macOS-Linux.yml

This commit is contained in:
Nayla 2023-04-22 11:21:55 -04:00 committed by GitHub
commit 007419ec6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,17 +89,47 @@ jobs:
with:
name: DolphinMPN-win32
path: D:\a\Dolphin-MPN\Dolphin-MPN\Binary\x64
# Upload Artifact
# Upload Artifact
- name: Upload Build Artifact
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v2
with:
name: DolphinMPN-macOS
path: /Users/runner/work/Dolphin-MPN/Dolphin-MPN/build/Binaries/
# Upload Artifact
# Upload Artifact
- name: Upload Build Artifact
if: matrix.os == 'linux-latest'
uses: actions/upload-artifact@v2
with:
name: DolphinMPN-Linux
path: /home/runner/work/Dolphin-MPN/Dolphin-MPN/build/Binaries/
# Zip Artifact
- name: Zip Artifact
if: matrix.os == 'ubuntu-latest'
run: 7z a -tzip /home/runner/DolphinMPN-linux /home/runner/work/Dolphin-MPN-src/Dolphin-MPN-src/build/Binaries/*
# New Release
- name: New Release
if: ${{ startsWith(github.ref, 'refs/tags/') }} && matrix.os == 'ubuntu-latest'
uses: ncipollo/release-action@v1.12.0
with:
artifacts: /home/runner/DolphinMPN-linux.7z
# Zip Artifact
- name: Zip Artifact
if: matrix.os == 'macos-latest'
run: 7z a -tzip /Users/runner/DolphinMPN-macOS-intel /Users/runner/work/Dolphin-MPN-src/Dolphin-MPN-src/build/Binaries/*
# New Release
- name: New Release
if: ${{ startsWith(github.ref, 'refs/tags/') }} && matrix.os == 'macos-latest'
uses: ncipollo/release-action@v1.12.0
with:
artifacts: /Users/runner/DolphinMPN-macOS-intel.7z
# Zip Artifact
- name: Zip Artifact
if: ${{ startsWith(github.ref, 'refs/tags/') }} && matrix.os == 'windows-latest'
run: 7z a -tzip D:/DolphinMPN-win32 D:/a/dolphin-mpn-src/dolphin-mpn-src/Binary/x64/*
# New Release
- name: New Release
if: ${{ startsWith(github.ref, 'refs/tags/') }} && matrix.os == 'windows-latest'
uses: ncipollo/release-action@v1.12.0
with:
artifacts: D:/DolphinMPN-win32.7z