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:
parent
8b7d7393fb
commit
9c646c24a4
20 changed files with 66 additions and 64 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue