Icons collection update #2422
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
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 | |
- 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' |