From 5a8da26e4883ba536087f54abfde1eeecbdac483 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 6 Dec 2024 11:10:48 -0500 Subject: [PATCH] Use publish script and update README --- .../{build_nupkg.yml => build_and_test.yml} | 13 +++++-------- README.MD | 8 ++++++++ 2 files changed, 13 insertions(+), 8 deletions(-) rename .github/workflows/{build_nupkg.yml => build_and_test.yml} (73%) 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 a709ca0..46183f8 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: @@ -17,24 +17,21 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 9.0.x - - - name: Restore dependencies - run: dotnet restore - - 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.Compression/bin/Release/*.nupkg' + path: '*.nupkg' - name: Upload to rolling uses: ncipollo/release-action@v1.14.0 with: allowUpdates: True - artifacts: 'SabreTools.Compression/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 cbb6765..969f818 100644 --- a/README.MD +++ b/README.MD @@ -1,9 +1,17 @@ # SabreTools.Compression +[![Build and Test](https://github.com/SabreTools/SabreTools.Compression/actions/workflows/build_and_test.yml/badge.svg)](https://github.com/SabreTools/SabreTools.Compression/actions/workflows/build_and_test.yml) + This library comprises of various compression implementations that are used across multiple projects. Most of the implementations are be ports of existing C and C++ code. Find the link to the Nuget package [here](https://www.nuget.org/packages/SabreTools.Compression). +## Releases + +For the most recent stable build, download the latest release here: [Releases Page](https://github.com/SabreTools/SabreTools.Compression/releases) + +For the latest WIP build here: [Rolling Release](https://github.com/SabreTools/SabreTools.Compression/releases/rolling) + ## Supported Compressions | Compression Name | Decompress | Compress |