Skip to content

Commit

Permalink
update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kfrancis committed Mar 27, 2024
1 parent 9664df3 commit 8b9e35f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build
run: dotnet build samples\Plugin.Maui.Feature.Sample.sln -c Release
run: dotnet build samples\Plugin.Maui.OCR.Sample.sln -c Release
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build
run: dotnet build src\Plugin.Maui.Feature.sln -c Release
run: dotnet build src\Plugin.Maui.OCR.sln -c Release
4 changes: 2 additions & 2 deletions .github/workflows/release-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
id: get_version
uses: battila7/get-version-action@v2
- name: Pack
run: dotnet pack src\Plugin.Maui.Feature.sln -c Release -p:PackageVersion=${{ steps.get_version.outputs.version-without-v }}
run: dotnet pack src\Plugin.Maui.OCR.sln -c Release -p:PackageVersion=${{ steps.get_version.outputs.version-without-v }}
- name: Push
run: dotnet nuget push src\Plugin.Maui.Feature\bin\Release\Plugin.Maui.Feature.${{ steps.get_version.outputs.version-without-v }}.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}
run: dotnet nuget push src\Plugin.Maui.OCR\bin\Release\Plugin.Maui.OCR.${{ steps.get_version.outputs.version-without-v }}.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}
env:
GITHUB_TOKEN: ${{ secrets.NUGET_API_KEY }}

0 comments on commit 8b9e35f

Please sign in to comment.