forked from LykosAI/StabilityMatrix
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 900 Bytes
/
version-bump.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Version Bump
on:
workflow_dispatch:
inputs:
version_mask:
type: string
description: Version Bump Mask
default: "0.0.1.0"
required: false
version_overwrite:
type: string
description: Version Overwrite Mask
default: "*.*.*.*"
required: false
jobs:
version-bump:
name: Version Bump
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.x'
- name: Bump versions
uses: SiqiLu/[email protected]
with:
version_files: "**/*.csproj"
version_mask: ${{ github.event.inputs.version_mask }}
version_overwrite: ${{ github.event.inputs.version_overwrite }}
github_token: ${{ secrets.GITHUB_TOKEN }}