mirror of
https://github.com/github/codeql-action.git
synced 2025-12-06 07:48:17 +08:00
Add warning and update PR checks for Swift on Linux (#2399)
* PR checks: Only run Swift build command on MacOS * PR checks: update to only test Swift on MacOS * Log warning if workflow is running Swift on Ubuntu --------- Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
This commit is contained in:
@@ -8,7 +8,7 @@ javac Main.java
|
||||
|
||||
go build main.go
|
||||
|
||||
if [[ "$OSTYPE" == "darwin"* || "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
swift build
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user