Skip to content

Commit

Permalink
Update manual.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stianst authored Nov 7, 2022
1 parent 3a913e9 commit dc9e5de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- run: |
if [ ${{ github.event_name }} == 'pull_request' ]; then
echo "Changes:"
git diff --name-only origin/main
git diff --name-only HEAD^
echo ""
fi
echo 'MATRIX<<EOF' >> $GITHUB_ENV
echo '[' >> $GITHUB_ENV
echo '{ "server": "quarkus", "tests": "LoginTest" }' >> $GITHUB_ENV
if [ ${{ github.event_name }} != 'pull_request' ] || ( git diff --name-only origin/main | grep -q '^undertow/' ); then
if [ ${{ github.event_name }} != 'pull_request' ] || ( git diff --name-only HEAD^ | grep -q '^undertow/' ); then
echo ', { "server": "undertow", "tests": "LogoutTest" }' >> $GITHUB_ENV
fi
echo ']' >> $GITHUB_ENV
Expand Down

0 comments on commit dc9e5de

Please sign in to comment.