File tree Expand file tree Collapse file tree 4 files changed +51
-6
lines changed
Expand file tree Collapse file tree 4 files changed +51
-6
lines changed Original file line number Diff line number Diff line change 3333 with :
3434 github_token : ${{ secrets.GITHUB_TOKEN }}
3535 publish_dir : ./output
36- - name : " Publish"
37- if : matrix.os == 'windows-latest' && github.ref == 'refs/heads/main'
38- env :
39- NUGET_KEY : ${{ secrets.NUGET_KEY }}
40- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41- run : dotnet fsi build.fsx -p Release
4236
4337 analyze :
4438 name : Analyze solution
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ env :
9+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE : true
10+ DOTNET_CLI_TELEMETRY_OPTOUT : true
11+
12+ jobs :
13+ release :
14+ runs-on : windows-latest
15+ environment : release
16+ permissions :
17+ id-token : write
18+ attestations : write
19+ contents : write
20+ steps :
21+ - uses : actions/checkout@v6
22+ - name : Setup .NET Core
23+ uses : actions/setup-dotnet@v5
24+ - name : Init
25+ run : dotnet fsi build.fsx -p Init
26+ - name : Obtain NuGet key
27+ # this hash is v1.1.0
28+ uses : NuGet/login@d22cc5f58ff5b88bf9bd452535b4335137e24544
29+ id : login
30+ with :
31+ user : ${{ secrets.NUGET_USER }}
32+ - name : " Publish"
33+ env :
34+ NUGET_KEY : ${{ steps.login.outputs.NUGET_API_KEY }}
35+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36+ run : dotnet fsi build.fsx -p Release
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ 7.0.5] - 2025-12-06
4+
5+ ### Fixed
6+
7+ - Fixed automated GitHub releases. [ #3205 ] ( https://github.com/fsprojects/fantomas/pull/3205 )
8+
9+ ## [ 7.0.4] - 2025-12-05
10+
11+ ### Changed
12+
13+ - Add trusted publishing. [ #3204 ] ( https://github.com/fsprojects/fantomas/pull/3204 )
14+
315## [ 7.0.3] - 2025-07-04
416
517### Fixed
Original file line number Diff line number Diff line change @@ -437,6 +437,9 @@ let getCurrentAndLastReleaseFromChangelog () =
437437
438438pipeline " Release" {
439439 workingDir __ SOURCE_ DIRECTORY__
440+ stage " Build" { run " dotnet build -c Release" }
441+ stage " UnitTests" { run " dotnet test -c Release" }
442+ stage " Pack" { run " dotnet pack -c Release" }
440443 stage " Release" {
441444 run ( fun _ ->
442445 async {
You can’t perform that action at this time.
0 commit comments