ci: Adding fields to allow more dynamic executions of releases for testing purposes [skip ci]
This commit is contained in:
@@ -19,11 +19,15 @@ on:
|
|||||||
- patch
|
- patch
|
||||||
- minor
|
- minor
|
||||||
- major
|
- major
|
||||||
|
target_job:
|
||||||
|
description: "Which job to start with"
|
||||||
|
required: false
|
||||||
|
default: "bump"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
bump:
|
bump:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event.inputs.target_job == 'bump' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Configure SSH for Git
|
- name: Configure SSH for Git
|
||||||
run: |
|
run: |
|
||||||
@@ -106,6 +110,7 @@ jobs:
|
|||||||
# for more information
|
# for more information
|
||||||
needs: bump
|
needs: bump
|
||||||
name: Release-plz
|
name: Release-plz
|
||||||
|
if: ${{ github.event.inputs.target_job == 'release-plz' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check if actor is repository owner
|
- name: Check if actor is repository owner
|
||||||
|
|||||||
Reference in New Issue
Block a user