diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml new file mode 100644 index 0000000..b5ad163 --- /dev/null +++ b/.github/workflows/build-deploy.yml @@ -0,0 +1,34 @@ +name: .NET to NuGet + +on: + push: + branches: [ master ] + tags: + - '*' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Setup .NET + uses: actions/setup-dotnet@v2 + with: + dotnet-version: '8.0.x' # Replace with your .NET version + + - name: Restore dependencies + run: dotnet restore + + - name: Build + run: dotnet build --no-restore + + - name: Test + run: dotnet test --no-build + + - name: Pack + run: dotnet pack --no-build --output nupkg + + - name: Push to NuGet + run: dotnet nuget push ./nupkg/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json diff --git a/Promact.Core.csproj b/Promact.Core.csproj index b4b43f4..1ffbfc9 100644 --- a/Promact.Core.csproj +++ b/Promact.Core.csproj @@ -3,6 +3,27 @@ netstandard2.1 enable + True + Promact.Core + Core package for Promact Utility implementation + https://github.com/Promact/Core + 1267213_577149875682840_87122952_o_400x400.jpg + https://github.com/Promact/Core + README.md + + + True + \ + + + + + + True + \ + + +