diff --git a/.github/workflows/rolling-release.yml b/.github/workflows/rolling-release.yml
index d3c68accd..d767526ac 100644
--- a/.github/workflows/rolling-release.yml
+++ b/.github/workflows/rolling-release.yml
@@ -186,7 +186,7 @@ jobs:
copy ${{ steps.write_signing_key.outputs.filePath }} src\duckstation-uwp\duckstation-uwp.pfx
- name: Disable AppX signing
- if: github.ref != 'refs/heads/master' || github.ref != 'refs/heads/dev'
+ if: github.ref != 'refs/heads/master' && github.ref != 'refs/heads/dev'
shell: powershell
run: |
(gc .\src\duckstation-uwp\duckstation-uwp.vcxproj) -replace 'True', 'False' | Out-File -encoding ASCII .\src\duckstation-uwp\duckstation-uwp.vcxproj