-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better release script (and overall updates) (#102)
- Loading branch information
Showing
14 changed files
with
773 additions
and
1,215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
dotnet: [5.0.102] | ||
dotnet: [6.0.100] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
|
@@ -23,3 +23,7 @@ jobs: | |
run: dotnet paket restore | ||
- name: Build | ||
run: dotnet fake run build.fsx | ||
- name: Upload a Build Artifact | ||
uses: actions/[email protected] | ||
with: | ||
path: out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
release: | ||
strategy: | ||
matrix: | ||
dotnet: [6.0.100] | ||
|
||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: ${{ matrix.dotnet }} | ||
- name: Restore tools | ||
run: dotnet tool restore | ||
- name: Restore | ||
run: dotnet restore | ||
- name: build and push packages | ||
run: dotnet fake build -t Push | ||
env: | ||
nuget-key: ${{ secrets.NUGET_KEY }} | ||
- name: Upload a Build Artifact | ||
uses: actions/[email protected] | ||
with: | ||
path: out | ||
- name: Create Release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: out/*.nupkg | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
generateReleaseNotes: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<Product>Fornax</Product> | ||
<Description>Fornax is a static site generator using type safe F# DSL to define page layouts.</Description> | ||
<Authors>Krzysztof Cieslak</Authors> | ||
<PackageTags>f#, site-generator, html</PackageTags> | ||
<PackageProjectUrl>https://github.com/Ionide/Fornax</PackageProjectUrl> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<ChangelogFile>$(MSBuildThisFileDirectory)CHANGELOG.md</ChangelogFile> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
</PropertyGroup> | ||
<ItemGroup Condition="'$(IsPackable)' =='true'"> | ||
<None Include="$(MSBuildThisFileDirectory)/README.md" Pack="true" PackagePath="/" /> | ||
</ItemGroup> | ||
</Project> |
Oops, something went wrong.