diff --git a/.github/workflows/build_nupkg.yml b/.github/workflows/build_and_test.yml similarity index 73% rename from .github/workflows/build_nupkg.yml rename to .github/workflows/build_and_test.yml index 71f0c7b..4063953 100644 --- a/.github/workflows/build_nupkg.yml +++ b/.github/workflows/build_and_test.yml @@ -1,4 +1,4 @@ -name: Nuget Pack +name: Build and Test on: push: @@ -18,29 +18,23 @@ jobs: with: dotnet-version: 9.0.x - - name: Restore dependencies - run: dotnet restore - - - name: Build library - run: dotnet build - - name: Run tests run: dotnet test - - name: Pack - run: dotnet pack + - name: Run publish script + run: ./publish-nix.sh - name: Upload build uses: actions/upload-artifact@v4 with: name: 'Nuget Package' - path: 'SabreTools.IO/bin/Release/*.nupkg' + path: '*.nupkg' - name: Upload to rolling uses: ncipollo/release-action@v1.14.0 with: allowUpdates: True - artifacts: 'SabreTools.IO/bin/Release/*.nupkg' + artifacts: '*.nupkg' body: 'Last built commit: ${{ github.sha }}' name: 'Rolling Release' prerelease: True diff --git a/README.MD b/README.MD index 658ae01..e42f097 100644 --- a/README.MD +++ b/README.MD @@ -1,5 +1,7 @@ # SabreTools.IO +[![Build and Test](https://github.com/SabreTools/SabreTools.IO/actions/workflows/build_and_test.yml/badge.svg)](https://github.com/SabreTools/SabreTools.IO/actions/workflows/build_and_test.yml) + This library comprises I/O functionality for the following file types: - ClrMamePro-derived Metadata files @@ -9,3 +11,9 @@ This library comprises I/O functionality for the following file types: There are also some extensions that are useful for wrapping common functionality required by SabreTools. Find the link to the Nuget package [here](https://www.nuget.org/packages/SabreTools.IO). + +## Releases + +For the most recent stable build, download the latest release here: [Releases Page](https://github.com/SabreTools/SabreTools.IO/releases) + +For the latest WIP build here: [Rolling Release](https://github.com/SabreTools/SabreTools.IO/releases/rolling)