Skip to content

Commit

Permalink
Merge pull request #59 from vicamo/for-myself/add-workflow_dispatch
Browse files Browse the repository at this point in the history
feat: add workflow_dispatch
  • Loading branch information
vicamo authored Apr 16, 2024
2 parents 21162e1 + 3cf3760 commit 6085ec0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
push:
branches:
- main
workflow_dispatch:
inputs:
include_eol:
description: 'Build also EOL-ed suites'
type: boolean
default: false

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -15,6 +21,9 @@ concurrency:
permissions:
contents: read

env:
INCLUDE_EOL: ${{ inputs.include_eol && 'true' || '' }}

jobs:
matrix:
name: Build Matrix
Expand Down Expand Up @@ -124,6 +133,11 @@ jobs:
}) |
tostring)
})')"
if [ -z "${INCLUDE_EOL}" ]; then
codenames="$(echo "${codenames}" | jq -c -M 'map(select(.active))')"
fi
echo "::group::Built JSON(codenames)"
echo "${codenames}" | jq
echo "::endgroup::"
Expand Down

0 comments on commit 6085ec0

Please sign in to comment.