mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
Add dispatchable workflow for pre-releases
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -10,4 +10,4 @@ jobs:
|
||||
secrets:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
|
||||
25
.github/workflows/prerelease.yml
vendored
Normal file
25
.github/workflows/prerelease.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
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:
|
||||
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 }}
|
||||
Reference in New Issue
Block a user