We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b533cd4 commit ec43d89Copy full SHA for ec43d89
.github/workflows/swift_package_test.yml
@@ -23,6 +23,10 @@ on:
23
type: string
24
description: "Command to execute before building the Swift package"
25
default: ""
26
+ build_command:
27
+ type: string
28
+ description: "Build command default is swift test"
29
+ default: "swift test"
30
env_vars:
31
description: "List of environment variables."
32
@@ -54,5 +58,5 @@ jobs:
54
58
done
55
59
- name: Pre-build
56
60
run: ${{ inputs.pre_build_command }}
57
- - name: Build Swift Package
- run: swift test ${{ (contains(matrix.swift_version, 'nightly') && inputs.swift_nightly_flags) || inputs.swift_flags }}
61
+ - name: Build
62
+ run: ${{ inputs.build_command }} ${{ (contains(matrix.swift_version, 'nightly') && inputs.swift_nightly_flags) || inputs.swift_flags }}
0 commit comments