forked from MaterialDesignInXAML/MaterialDesignInXamlToolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 1.02 KB
/
icon_update.yml
File metadata and controls
40 lines (33 loc) · 1.02 KB
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: Icon Update
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * *'
jobs:
build:
if: ${{ github.repository == 'MaterialDesignInXAML/MaterialDesignInXamlToolkit' }}
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.x
- name: Run Icon Generation
run: dotnet run -c Release -- icons
working-directory: ./mdresgen
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: >
[Icon update detected by Github Action].
Auto generated pull request.
committer: Material Design Service Account <mdixsa@outlook.com>
author: Material Design Service Account <mdixsa@outlook.com>
branch: pipeline/icons
delete-branch: true
base: master
title: Update Icons [GitHub Action]
body: >
[Icon update detected by Github Action].
Auto generated pull request.