diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 3a32557..3f64aff 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -88,9 +88,6 @@ jobs: name: ${{ env.zip_name }} path: ${{ env.BUILD_CONFIGURATION }} - name: Create Release - if: | - github.event_name == 'workflow_dispatch' && - github.repository == 'illusion0001/Windows-Game-Patches' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | @@ -121,12 +118,12 @@ jobs: } Compress-Archive @compress $tag = "--prerelease" - if (${{ env.BRANCH }} -ieq "main") + if ("${{ env.BRANCH }}" -ieq "main") { $tag = "" echo "${{ env.BRANCH }} is main" } - if (${{ env.BRANCH }} -ieq "benchmark") + if ("${{ env.BRANCH }}" -ieq "benchmark") { echo "benchmark branch" }