-
-
Notifications
You must be signed in to change notification settings - Fork 12
40 lines (32 loc) · 994 Bytes
/
sync-extensions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: sync-extensions
on:
push:
branches:
- alpha
workflow_dispatch:
jobs:
sync-extensions:
runs-on: windows-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Clean Extension
shell: pwsh
run: Remove-Item "src/KubeUI/ControlExtensions.Generated" -Force -Recurse
- name: Install Tool
run: dotnet tool install --global AvaloniaExtensionGenerator --prerelease
- name: Run Generator
working-directory: src/KubeUI/
run: avalonia-amd-gen
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: sync-extensions
commit-message: "chore: Update Extensions"
title: "chore: Update Extensions"
body: "Automated Extension Sync"