Skip to content

Commit

Permalink
Allow specifying branch of mkdocs or a different dep to upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypin committed Sep 10, 2023
1 parent eca5d6d commit 84ea301
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/regressions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
branches:
- master
workflow_dispatch:
inputs:
to_upgrade:
description: 'The dependency to upgrade and compare: repository@branch'
required: true
default: 'git+https://github.com/mkdocs/mkdocs.git@master'

jobs:
regressions:
Expand Down Expand Up @@ -46,6 +51,6 @@ jobs:
- name: Build current version
run: ./build.sh build_current ${{ matrix.repo }}
- name: Build latest version
run: ./build.sh build_latest ${{ matrix.repo }}
run: ./build.sh build_latest ${{ matrix.repo }} ${{ github.event.inputs.to_upgrade }}
- name: Compare sites
run: ./build.sh compare ${{ matrix.repo }}

0 comments on commit 84ea301

Please sign in to comment.