Skip to content

Commit

Permalink
Add dispatchable prerelease workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed Jul 26, 2023
1 parent 1abd95a commit 84acfc3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
26 changes: 26 additions & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: prerelease

on:
workflow_dispatch:
inputs:
package-version-base:
type: string
description: Package version base
required: true
package-version-suffix:
type: string
description: Package version suffix
required: true

jobs:
prerelease:
uses: Tyrrrz/.github/.github/workflows/nuget.yml@master
with:
windows-only: true
dotnet-version: 7.0.x
package-version: ${{ format('{0}-{1}', inputs.package-version-base, inputs.package-version-suffix) }}
deploy-on-tags-only: false
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}

0 comments on commit 84acfc3

Please sign in to comment.