Skip to content

no message

no message #267

Workflow file for this run

name: Blauhaus Packages
on:
push:
branches:
- release/*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Set Version
run: |
npm install @actions/core --save
node ./scripts/getversion.js
- name: Build NuGet Package
run: |
dotnet build ./src/Blauhaus.Analytics.sln --configuration Release
dotnet pack ./src/Blauhaus.Analytics.Abstractions/Blauhaus.Analytics.Abstractions.csproj -p:PackageVersion=${VERSION_NAME} --no-build --output ./ --configuration Release
dotnet pack ./src/Blauhaus.Analytics.Console/Blauhaus.Analytics.Console.csproj -p:PackageVersion=${VERSION_NAME} --no-build --output ./ --configuration Release
dotnet pack ./src/Blauhaus.Analytics.AspNetCore/Blauhaus.Analytics.AspNetCore.csproj -p:PackageVersion=${VERSION_NAME} --no-build --output ./ --configuration Release
dotnet pack ./src/Blauhaus.Analytics.Common/Blauhaus.Analytics.Common.csproj -p:PackageVersion=${VERSION_NAME} --no-build --output ./ --configuration Release
dotnet pack ./src/Blauhaus.Analytics.Serilog/Blauhaus.Analytics.Serilog.csproj -p:PackageVersion=${VERSION_NAME} --no-build --output ./ --configuration Release
dotnet pack ./src/Blauhaus.Analytics.Serilog.AspNetCore/Blauhaus.Analytics.Serilog.AspNetCore.csproj -p:PackageVersion=${VERSION_NAME} --no-build --output ./ --configuration Release
dotnet pack ./src/Blauhaus.Analytics.Serilog.Orleans/Blauhaus.Analytics.Serilog.Orleans.csproj -p:PackageVersion=${VERSION_NAME} --no-build --output ./ --configuration Release
dotnet pack ./src/Blauhaus.Analytics.TestHelpers/Blauhaus.Analytics.TestHelpers.csproj -p:PackageVersion=${VERSION_NAME} --no-build --output ./ --configuration Release
dotnet pack ./src/Blauhaus.Analytics.Orleans/Blauhaus.Analytics.Orleans.csproj -p:PackageVersion=${VERSION_NAME} --no-build --output ./ --configuration Release
dotnet pack ./src/Blauhaus.Analytics.Serilog.Maui/Blauhaus.Analytics.Serilog.Maui.csproj -p:PackageVersion=${VERSION_NAME} --no-build --output ./ --configuration Release
dotnet pack ./src/Blauhaus.Analytics.Serilog.ApplicationInsights/Blauhaus.Analytics.Serilog.ApplicationInsights.csproj -p:PackageVersion=${VERSION_NAME} --no-build --output ./ --configuration Release
- name: Deploy NuGet Package
run: |
dotnet nuget push /home/runner/work/Blauhaus.Analytics/Blauhaus.Analytics/Blauhaus.Analytics.Abstractions.${VERSION_NAME}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push /home/runner/work/Blauhaus.Analytics/Blauhaus.Analytics/Blauhaus.Analytics.Console.${VERSION_NAME}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push /home/runner/work/Blauhaus.Analytics/Blauhaus.Analytics/Blauhaus.Analytics.AspNetCore.${VERSION_NAME}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push /home/runner/work/Blauhaus.Analytics/Blauhaus.Analytics/Blauhaus.Analytics.Common.${VERSION_NAME}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push /home/runner/work/Blauhaus.Analytics/Blauhaus.Analytics/Blauhaus.Analytics.TestHelpers.${VERSION_NAME}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push /home/runner/work/Blauhaus.Analytics/Blauhaus.Analytics/Blauhaus.Analytics.Orleans.${VERSION_NAME}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push /home/runner/work/Blauhaus.Analytics/Blauhaus.Analytics/Blauhaus.Analytics.Serilog.${VERSION_NAME}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push /home/runner/work/Blauhaus.Analytics/Blauhaus.Analytics/Blauhaus.Analytics.Serilog.AspNetCore.${VERSION_NAME}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push /home/runner/work/Blauhaus.Analytics/Blauhaus.Analytics/Blauhaus.Analytics.Serilog.Orleans.${VERSION_NAME}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push /home/runner/work/Blauhaus.Analytics/Blauhaus.Analytics/Blauhaus.Analytics.Serilog.Maui.${VERSION_NAME}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push /home/runner/work/Blauhaus.Analytics/Blauhaus.Analytics/Blauhaus.Analytics.Serilog.ApplicationInsights.${VERSION_NAME}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json