Skip to content

Commit

Permalink
Keep matrix json up to date (#658)
Browse files Browse the repository at this point in the history
* Update workflow to keep matrix json up to date

* fix task name
  • Loading branch information
TravisEz13 authored May 31, 2022
1 parent d2ea044 commit 62b5aa9
Show file tree
Hide file tree
Showing 2 changed files with 1,019 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,30 @@ jobs:
base: master
draft: false
branch: update-release-build
update-matrix-json:
name: Update Matrix Json
timeout-minutes: 15
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Auto-update JSON
run: |
.\build.ps1 -GenerateMatrixJson -FullJson -Channel preview, stable > .\assets\matrix.json
- name: Create Pull Request
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
id: cpr
uses: peter-evans/create-pull-request@v3
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
commit-message: "Update the matrix json"
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
title: "Update the matrix json"
assignees: travisez13
reviewers: travisez13
base: master
draft: false
branch: update-matrix-json
Loading

0 comments on commit 62b5aa9

Please sign in to comment.