Merge branch 'feature/avalonia' into develop #27
Workflow file for this run
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 workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: .NET | |
on: | |
push: | |
tags: | |
- 'v**' | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.x' | |
source-url: https://nuget.pkg.github.com/theeightbot/index.json | |
env: | |
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- name: Install MAUI Workloads | |
run: dotnet workload install maui --ignore-failed-sources | |
- name: Semver Parse | |
id: version | |
uses: release-kit/semver@v1.0.10 | |
- name: Build Stellar | |
run: dotnet build Stellar/Stellar.csproj | |
- name: Create the package | |
run: dotnet pack --configuration Release /p:AssemblyVersion=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} /p:Version=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} Stellar/Stellar.csproj | |
- name: Publish the package to GPR | |
run: dotnet nuget push Stellar/bin/Release/*.nupkg | |
- name: Build Stellar.Maui | |
run: dotnet build Stellar.Maui/Stellar.Maui.csproj | |
- name: Create the package | |
run: dotnet pack --configuration Release /p:AssemblyVersion=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} /p:Version=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} Stellar.Maui/Stellar.Maui.csproj | |
- name: Publish the package to GPR | |
run: dotnet nuget push Stellar.Maui/bin/Release/*.nupkg | |
- name: Build Stellar.Maui.PopUp | |
run: dotnet build Stellar.Maui.PopUp/Stellar.Maui.PopUp.csproj | |
- name: Create the package | |
run: dotnet pack --configuration Release /p:AssemblyVersion=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} /p:Version=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} Stellar.Maui.PopUp/Stellar.Maui.PopUp.csproj | |
- name: Publish the package to GPR | |
run: dotnet nuget push Stellar.Maui.PopUp/bin/Release/*.nupkg | |
- name: Build Stellar.Blazor | |
run: dotnet build Stellar.Blazor/Stellar.Blazor.csproj | |
- name: Create the package | |
run: dotnet pack --configuration Release /p:AssemblyVersion=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} /p:Version=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} Stellar.Blazor/Stellar.Blazor.csproj | |
- name: Publish the package to GPR | |
run: dotnet nuget push Stellar.Blazor/bin/Release/*.nupkg | |
- name: Build Stellar.Avalonia | |
run: dotnet build Stellar.Avalonia/Stellar.Avalonia.csproj | |
- name: Create the package | |
run: dotnet pack --configuration Release /p:AssemblyVersion=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} /p:Version=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} Stellar.Avalonia/Stellar.Avalonia.csproj | |
- name: Publish the package to GPR | |
run: dotnet nuget push Stellar.Avalonia/bin/Release/*.nupkg | |
- name: Build Stellar.FluentValidation | |
run: dotnet build Stellar.FluentValidation/Stellar.FluentValidation.csproj | |
- name: Create the package | |
run: dotnet pack --configuration Release /p:AssemblyVersion=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} /p:Version=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} Stellar.FluentValidation/Stellar.FluentValidation.csproj | |
- name: Publish the package to GPR | |
run: dotnet nuget push Stellar.FluentValidation/bin/Release/*.nupkg |