Skip to content

Commit

Permalink
fix: Fixed problem with path in github action file, now build is ran …
Browse files Browse the repository at this point in the history
…based on OS
  • Loading branch information
FPirazz committed Jan 28, 2024
1 parent 1fe766c commit 7ea7d41
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,11 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Execute Gradle build
run: ./gradlew build
run: if ["$RUNNER_OS" == "Linux" || "$RUNNER_OS" == "macOS"]; then
./gradlew build
elif ["$RUNNER_OS" == "Windows" || "$RUNNER_OS" == "macOS"]; then
.\gradlew.bat build
else
echo "$RUNNER_OS not supported"
exit 1
fi
1 change: 1 addition & 0 deletions Traffic_Management_System/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7ea7d41

Please sign in to comment.