Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,14 @@ jobs:
- name: Install workloads
run: dotnet workload install maui ios android --version ${{ env.DOTNET_VERSION }}

- name: Install Uno check
run: dotnet tool install -g uno.check

- name: Run Uno check
run: uno-check -v --ci --non-interactive --fix --target android --target ios --skip vswin --skip vsmac --skip xcode --skip vswinworkloads --skip androidemulator --skip dotnetnewunotemplates --skip openjdk --skip androidsdk

- name: Get next version
uses: reecetech/[email protected]
id: version
with:
scheme: semver
increment: patch

- name: Pack plugin
- name: Pack plugin (without Uno)
run: |
projects=(
"${{ env.Plugin_Scanner_ProjectPath }}"
Expand All @@ -56,13 +50,15 @@ jobs:
"${{ env.Plugin_Scanner_Core_ProjectPath }}"
"${{ env.Plugin_Scanner_iOS_ProjectPath }}"
"${{ env.Plugin_Scanner_Maui_ProjectPath }}"
"${{ env.Plugin_Scanner_Uno_ProjectPath }}"
)

for project in "${projects[@]}"; do
echo "Packing $project"
dotnet pack "$project" -o ./artifacts -c ${{ env.Configuration }} -p:PackageVersion=${{ steps.version.outputs.version }}-alpha
done

- name: Pack Uno plugin
run: dotnet build ${{ env.Plugin_Scanner_Uno_ProjectPath }} -o ./artifacts -c ${{ env.Configuration }} -p:PackageVersion=${{ steps.version.outputs.version }}-alpha -p:GeneratePackageOnBuild=true

- name: Upload NuGet artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion src/Plugin.Scanner.Uno/Plugin.Scanner.Uno.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
<ItemGroup>
<None Remove="iOS\Info.plist" />
</ItemGroup>
</Project>
</Project>
Loading