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 b2ce302 commit 2027bec
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,21 +90,21 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
$hashMarkdown = @'
<details>
<summary>Readme Contents (Click to Expand)</summary>
{0}
</details>
<details>
<summary>ASI Plugin Hashes (Click to Expand)</summary>
```yaml
{1}
```

</details>
'@ -f (Get-Content ".github\README.md" | Out-String), (Get-Content "${{ env.BUILD_CONFIGURATION }}\hashes.txt" | Out-String)
$hashMarkdown | Out-File -FilePath hash.md
Expand All @@ -113,9 +113,9 @@ jobs:
Path = "${{ env.BUILD_CONFIGURATION }}\*"
DestinationPath = "${{ env.zip_name }}.zip"
}
Compress-Archive @compress
if ("${{ env.BRANCH }}" -ieq "main")
{
gh release create ${{ env.commit_ver }} ${{ env.ZIP_NAME }}.zip --target ${{ GITHUB.SHA }} -t "${{ env.commit_ver }}" -F hash.md
Expand Down

0 comments on commit 2027bec

Please sign in to comment.