-
Notifications
You must be signed in to change notification settings - Fork 5
50 lines (40 loc) · 1.79 KB
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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