forked from IvanJosipovic/KubeUI
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1.02 KB
/
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
41
42
name: sync-extensions
on:
push:
branches:
- alpha
workflow_dispatch:
schedule:
- cron: "0 6 * * *"
jobs:
sync-extensions:
runs-on: ubuntu-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 Extensions
shell: pwsh
run: Remove-Item "src/KubeUI.Core/ControlExtensions.Generated/*" -Force -Recurse
- name: Install Tool
run: dotnet tool install --global AvaloniaExtensionGenerator --version 11.2.0-beta4
- name: Run Generator
working-directory: src/KubeUI.Core
run: avalonia-amd-gen
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GH_PAT }}
branch: sync-extensions
commit-message: "chore: Update Extensions"
title: "chore: Update Extensions"
body: "Automated Extension Sync"