Skip to content

Commit

Permalink
also run build.sh if no build.gradle file
Browse files Browse the repository at this point in the history
  • Loading branch information
edgriebel committed Oct 27, 2023
1 parent a7f13b1 commit 4ab8270
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/simple_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
- name: Run Unit Tests
if: ${{ hashFiles('build.gradle') == '' }}
run: java -cp .:lib/hamcrest-core-1.3.jar:lib/junit-4.12.jar org.junit.runner.JUnitCore EdgeConnectorTest
- name: Run build.sh
if: ${{ hashFiles('build.gradle') == '' && hashFiles('build.sh') != '' }}
run: ./build.sh

# Display the files that the action sees in the home directory
- name: List files
run: tree
Expand Down

0 comments on commit 4ab8270

Please sign in to comment.