From 8996b4129eb8b3f97db5916cc03588cc0909b7b3 Mon Sep 17 00:00:00 2001 From: Nayla Date: Sat, 22 Apr 2023 13:24:46 -0400 Subject: [PATCH] Update windows-macOS-Linux.yml --- .github/workflows/windows-macOS-Linux.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/windows-macOS-Linux.yml b/.github/workflows/windows-macOS-Linux.yml index 8f71477563..e2fadbaa40 100644 --- a/.github/workflows/windows-macOS-Linux.yml +++ b/.github/workflows/windows-macOS-Linux.yml @@ -105,31 +105,31 @@ jobs: path: /home/runner/work/Dolphin-MPN/Dolphin-MPN/build/Binaries/ # 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/* # 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 with: artifacts: /home/runner/DolphinMPN-linux.7z # 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/* # 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 with: artifacts: /Users/runner/DolphinMPN-macOS-intel.7z # 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/* # 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 with: artifacts: D:/DolphinMPN-win32.7z