Skip to content

Commit 32ea197

Browse files
committed
Work CI-CD
- Add action to set main version.
1 parent a5842b0 commit 32ea197

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Copyright (c) .NET Foundation and Contributors
2+
# See LICENSE file in the project root for full license information.
3+
4+
# This workflow moves the main version tag to the latest commit in the branch.
5+
# To be manually triggered upon a new release.
6+
7+
name: Update Main Version
8+
9+
on:
10+
workflow_dispatch:
11+
inputs:
12+
target:
13+
description: The tag to move the major version to
14+
required: true
15+
major_version:
16+
type: choice
17+
description: The major version to update
18+
options:
19+
- v1
20+
21+
jobs:
22+
update-dependencies:
23+
name: nanoFramework
24+
uses: nanoframework/nf-tools/.github/workflows/update-main-version.yml@main
25+
secrets: inherit
26+
with:
27+
target: ${{ github.event.inputs.target }}
28+
major_version: ${{ github.event.inputs.major_version }}

0 commit comments

Comments
 (0)