-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to using publish script for GHA
- Loading branch information
1 parent
b4e0431
commit 7cad841
Showing
8 changed files
with
45 additions
and
265 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Build and Test | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 9.0.x | ||
|
||
- name: Run tests | ||
run: dotnet test | ||
|
||
- name: Run publish script | ||
run: ./publish-nix.sh -dp | ||
|
||
- name: Upload package | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: 'Nuget Package' | ||
path: '*.nupkg' | ||
|
||
- name: Upload to rolling | ||
uses: ncipollo/release-action@v1.14.0 | ||
with: | ||
allowUpdates: True | ||
artifacts: "*.nupkg,*.zip" | ||
body: 'Last built commit: ${{ github.sha }}' | ||
name: 'Rolling Release' | ||
prerelease: True | ||
replacesArtifacts: True | ||
tag: "rolling" | ||
updateOnlyUnreleased: True |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.