Skip to content

Commit

Permalink
Separate jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
m-sadegh-sh committed Sep 26, 2024
1 parent deb48d8 commit 85e021d
Showing 1 changed file with 95 additions and 5 deletions.
100 changes: 95 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches: [ main ]
jobs:
build:
build_zebble:
strategy:
matrix:
configuration: [ Release ]
Expand All @@ -20,31 +20,121 @@ jobs:

- 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

build_zebble_build:
strategy:
matrix:
configuration: [ Release ]
runs-on: windows-2022
steps:
- uses: actions/checkout@v4

- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'

- name: Install Zebble's CLI tools
run: dotnet tool install --global zebble-build

- name: Publish a new Zebble.Build package
run: zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish
working-directory: Zebble.Build


build_zebble_compile_zbl:
strategy:
matrix:
configuration: [ Release ]
runs-on: windows-2022
steps:
- uses: actions/checkout@v4

- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'

- name: Install Zebble's CLI tools
run: dotnet tool install --global 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

build_zebble_css:
strategy:
matrix:
configuration: [ Release ]
runs-on: windows-2022
steps:
- uses: actions/checkout@v4

- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'

- name: Install Zebble's CLI tools
run: dotnet tool install --global zebble-build

- name: Publish a new Zebble.Css package
run: zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish
working-directory: Zebble.Css

build_zebble_format_zbl:
strategy:
matrix:
configuration: [ Release ]
runs-on: windows-2022
steps:
- uses: actions/checkout@v4

- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'

- name: Install Zebble's CLI tools
run: dotnet tool install --global zebble-build

- name: Publish a new Zebble.FormatZbl package
run: zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish
working-directory: Zebble.FormatZbl

build_zebble_image:
strategy:
matrix:
configuration: [ Release ]
runs-on: windows-2022
steps:
- uses: actions/checkout@v4

- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'

- name: Install Zebble's CLI tools
run: dotnet tool install --global zebble-build

- name: Publish a new Zebble.Image package
run: zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish
working-directory: Zebble.Image


build_zebble_schema:
strategy:
matrix:
configuration: [ Release ]
runs-on: windows-2022
steps:
- uses: actions/checkout@v4

- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'

- name: Install Zebble's CLI tools
run: dotnet tool install --global zebble-build

- name: Publish a new Zebble.Schema package
run: zebble-build update-plugin --api-key ${{secrets.NUGET_API_KEY}} --publish
working-directory: Zebble.Schema
working-directory: Zebble.Schema

0 comments on commit 85e021d

Please sign in to comment.