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
name: Publishes a new package of Zebble or any of its CLIs to the nuget.org | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
configuration: [ Release ] | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.x' | |
- name: Install MAUI | |
run: dotnet workload install ios maui --source https://aka.ms/dotnet8/nuget/index.json --source https://api.nuget.org/v3/index.json | |
- name: Install Zebble's CLI tools | |
run: dotnet tool install --global zebble-build | |
- name: Publish a new Zebble package | |
run: dotnet zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish | |
working-directory: Zebble | |
- name: Publish a new Zebble.Build package | |
run: dotnet zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish | |
working-directory: Zebble.Build | |
- name: Publish a new Zebble.CompileZbl package | |
run: dotnet zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish | |
working-directory: Zebble.CompileZbl | |
- name: Publish a new Zebble.Css package | |
run: dotnet zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish | |
working-directory: Zebble.Css | |
- name: Publish a new Zebble.FormatZbl package | |
run: dotnet zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish | |
working-directory: Zebble.FormatZbl | |
- name: Publish a new Zebble.Image package | |
run: dotnet zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish | |
working-directory: Zebble.Image | |
- name: Publish a new Zebble.Schema package | |
run: dotnet zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish | |
working-directory: Zebble.Schema |