-
Notifications
You must be signed in to change notification settings - Fork 17
33 lines (30 loc) · 905 Bytes
/
update.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
name: Icons collection update
on:
schedule:
- cron: '0 0,12 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0'
- name: Cache .nuke/temp, ~/.nuget/packages
uses: actions/cache@v2
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
- name: Run generator project
run: ./build.sh GhUpdateIconsWorkflow
- name: Push changes (if any)
uses: actions-js/push@master
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
message: 'Icons collection update ✨'
branch: 'master'