Skip to content

Commit e83972a

Browse files
authored
Merge pull request #862 from nojaf/main
Add Action to deploy nuget package from modern theme branch.
2 parents 0157405 + 720fd43 commit e83972a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/modern-theme.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build and Test and Publish (main)
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
with:
12+
ref: modern-theme
13+
- name: Setup .NET Core
14+
uses: actions/setup-dotnet@v3
15+
- name: Run CI
16+
run: dotnet fsi build.fsx
17+
- name: Publish NuGets (if main version changed)
18+
run: dotnet nuget push "artifacts/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.FSHARP_FORMATTING_TOKEN_2020 }} --skip-duplicate

0 commit comments

Comments
 (0)