浏览代码

[GitHub Actions] Update SwiftPM workflow

- Add `swift -version`
Norio Nomura 5 年之前
父节点
当前提交
74d176dea2
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      .github/workflows/swiftpm.yml

+ 3 - 2
.github/workflows/swiftpm.yml

@@ -25,8 +25,9 @@ jobs:
     runs-on: macOS-10.14
     steps:
       - uses: actions/checkout@v1
-      - env:
-          DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app
+      - env: { 'DEVELOPER_DIR': '/Applications/Xcode_${{ matrix.xcode }}.app' }
+        run: swift -version
+      - env: { 'DEVELOPER_DIR': '/Applications/Xcode_${{ matrix.xcode }}.app' }
         run: swift test
 
   Linux: