Skip to content

Commit

Permalink
Merge pull request #7708 from ehuelsmann/actions-output-update
Browse files Browse the repository at this point in the history
Change criteria to kick off dev build
  • Loading branch information
ehuelsmann authored Nov 11, 2023
2 parents 746c636 + 64827ae commit 7cfb168
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,11 @@ jobs:
shell: bash
run: |
URL="https://api.github.com/repos/${{ github.repository }}/commits/${{ github.sha }}"
if [ -n "$(curl -s -X GET -G $URL | jq -r '.files[].filename' | grep -q "cpanfile")" ]; then
echo MUST_TRIGGER=1 >> $GITHUB_OUTPUT
if [ -n "$(curl -s -X GET -G $URL | jq -r '.files[].filename' | grep 'cpanfile')" ]; then
echo "Setting MUST_TRIGGER to 1"
echo "MUST_TRIGGER=1" >> $GITHUB_OUTPUT
else
echo "MUST_TRIGGER failed; not set"
fi
- name: Repository Dispatch to the Development image
Expand Down
1 change: 0 additions & 1 deletion cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

requires 'perl', '5.32.0';


requires 'Array::PrintCols';
requires 'Archive::Zip';
recommends 'Authen::SASL';
Expand Down

0 comments on commit 7cfb168

Please sign in to comment.