Skip to content

Commit

Permalink
Update msbuild.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
illusion0001 authored Jul 7, 2024
1 parent afe2437 commit 3baa411
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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"
}
Expand Down

0 comments on commit 3baa411

Please sign in to comment.