Skip to content

Commit 56b8c14

Browse files
authored
Merge pull request #164 from FmgLib/v8.8.9
fix.
2 parents 805296a + 1d1a02a commit 56b8c14

12 files changed

+49
-9
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ on:
55
push:
66
branches:
77
- master
8+
- develop
89

910
env:
1011
SOLUTION_PATH: './FmgLib.MauiMarkup.sln'
11-
PROJECT_PATH: 'src\FmgLib.MauiMarkup\FmgLib.MauiMarkup.csproj'
12+
GENERATOR_PROJECT_PATH: 'src\FmgLib.MauiMarkup.Generator\FmgLib.MauiMarkup.Generator.csproj'
13+
MAIN_PROJECT_PATH: 'src\FmgLib.MauiMarkup\FmgLib.MauiMarkup.csproj'
1214
PACKAGE_OUTPUT_DIRECTORY: ${{ github.workspace }}\output
13-
NUGET_API_KEY: ${{ secrets.NUGET_AUTH_TOKEN }}
15+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
1416

1517
jobs:
1618
deploy:
@@ -28,14 +30,16 @@ jobs:
2830
- name: Install MAUI workload
2931
run: dotnet workload install maui
3032

31-
- name: Clean output directory
33+
- name: Clean solution
3234
run: dotnet clean ${{ env.SOLUTION_PATH }} -c Release
3335

34-
- name: Build the solution
35-
run: dotnet build ${{ env.SOLUTION_PATH }} -c Release
36+
- name: Build Generator Project
37+
run: dotnet build ${{ env.GENERATOR_PROJECT_PATH }} -c Release
3638

37-
- name: Pack NuGet package
38-
run: dotnet pack ${{ env.PROJECT_PATH }} -c Release --no-build -o ${{ env.PACKAGE_OUTPUT_DIRECTORY }}
39+
- name: Build and Pack Main Project
40+
run: |
41+
dotnet build ${{ env.MAIN_PROJECT_PATH }} -c Release
42+
dotnet pack ${{ env.MAIN_PROJECT_PATH }} -c Release --no-build -o ${{ env.PACKAGE_OUTPUT_DIRECTORY }}
3943
4044
- name: Push to NuGet
4145
run: |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)