Skip to content

Commit

Permalink
Fixes pre-releases on workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NostraThomas99 committed Apr 2, 2024
1 parent 2f3d8e2 commit d178177
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@ jobs:
$tag = "${{ github.ref }}" -replace 'refs/tags/', ''
"tag=$tag" | Out-File -Append -FilePath $Env:GITHUB_ENV
if ($tag -match "-test$") {
$branch = "testing"
$tag = $tag -replace '-test$', ''
} else {
$branch = "latest"
}
"branch=$branch" | Out-File -Append -FilePath $Env:GITHUB_ENV
- name: Set up .NET
uses: actions/setup-dotnet@v1
Expand All @@ -53,9 +44,6 @@ jobs:
with:
files: ./build/BossMod.zip
token: ${{ secrets.GITHUB_TOKEN }}
draft: false
make_latest: ${{ env.branch == 'latest' }}
prerelease: ${{ env.branch == 'testing' }}



0 comments on commit d178177

Please sign in to comment.