Skip to content

Commit

Permalink
Add manual trigger of release
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <[email protected]>
  • Loading branch information
LecrisUT committed Jan 10, 2024
1 parent f6ad195 commit 557ba4e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+"
workflow_dispatch:
inputs:
tag:
description: Tag to release
required: true

jobs:
# TODO: tests and docs are not aligned when called from workflow_dispatch :/
pre-commit:
uses: ./.github/workflows/step_pre-commit.yaml
tests:
Expand All @@ -30,6 +35,8 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.tag }}
- uses: softprops/action-gh-release@v1
with:
name: CMakeExtraUtils ${{ github.ref_name }}
Expand Down

0 comments on commit 557ba4e

Please sign in to comment.