Skip to content

Commit f8d3463

Browse files
Create test-publish.yml
1 parent ca4bb01 commit f8d3463

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/test-publish.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'test publish'
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
publish-stage:
8+
name: Publish Test
9+
runs-on: ubuntu-latest
10+
env:
11+
module_version: "10.0.0"
12+
permissions:
13+
repository-projects: write
14+
discussions: write
15+
packages: write
16+
steps:
17+
18+
- uses: ncipollo/release-action@v1
19+
with:
20+
artifacts: 'nuget/*'
21+
artifactErrorsFailBuild: false
22+
allowUpdates: true
23+
commit: trunk
24+
tag: "v${{ env.module_version }}"
25+
discussionCategory: "Announcements"
26+
generateReleaseNotes: true
27+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)