Skip to content

Commit

Permalink
feat: limit only to latest splunk version when run is scheduled
Browse files Browse the repository at this point in the history
  • Loading branch information
dkaras-splunk committed Jan 10, 2025
1 parent c2d398c commit bb8557a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@ jobs:
persist-credentials: false
- id: matrix
uses: splunk/addonfactory-test-matrix-action@v3.0
- name: Set Splunk version to latest for scheduled runs
if: github.event_name == 'schedule'
run: |
echo "supportedSplunk=[{\"version\":\"${{ steps.matrix.outputs.latestSplunk }}\"}]" >> "$GITHUB_OUTPUT"
- name: job summary
run: |
splunk_version_list=$(echo '${{ steps.matrix.outputs.supportedSplunk }}' | jq -r '.[].version')
Expand Down

0 comments on commit bb8557a

Please sign in to comment.