Update windows-macOS-Linux.yml

This commit is contained in:
Nayla 2023-04-22 13:24:46 -04:00 committed by GitHub
commit 8996b4129e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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