-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #769 from unoplatform/mergify/bp/release/stable/5.…
…3/pr-756 ci: Updater fixes for release branches (backport #756)
- Loading branch information
Showing
3 changed files
with
72 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: "SDK Update" | ||
description: "Update Uno Sdk" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '8.0.300' | ||
|
||
- name: Setup GitVersion | ||
uses: gittools/actions/gitversion/setup@v1.1.1 | ||
with: | ||
versionSpec: '5.10.3' | ||
|
||
- name: GitVersion | ||
id: gitversion | ||
uses: gittools/actions/gitversion/execute@v1.1.1 | ||
with: | ||
useConfigFile: true | ||
configFilePath: build/gitversion.yml | ||
|
||
- name: Run Uno Sdk Updater | ||
run: dotnet run -c Release --project tools/Uno.Sdk.Updater | ||
shell: pwsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Update Uno Sdk (PR) | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- release/stable/* | ||
paths: | ||
- .github/workflows/uno-updater-pr.yml | ||
- .github/actions/sdk-update/* | ||
- tools/Uno.Sdk.Updater/* | ||
|
||
jobs: | ||
manifest-update: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: "Sdk Update" | ||
uses: ./.github/actions/sdk-update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters