Skip to content

Workflow file for this run

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 android 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: zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish
working-directory: Zebble
- name: Publish a new Zebble.Build package
run: zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish
working-directory: Zebble.Build
- name: Publish a new Zebble.CompileZbl package
run: zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish
working-directory: Zebble.CompileZbl
- name: Publish a new Zebble.Css package
run: zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish
working-directory: Zebble.Css
- name: Publish a new Zebble.FormatZbl package
run: zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish
working-directory: Zebble.FormatZbl
- name: Publish a new Zebble.Image package
run: zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish
working-directory: Zebble.Image
- name: Publish a new Zebble.Schema package
run: zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish
working-directory: Zebble.Schema