Skip to content

Commit 9ff2184

Browse files
authored
Initial conversion to use of composite GH actions
1 parent 320004c commit 9ff2184

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

action.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: 'Vapor CI Support Tools'
2+
description: 'Provides common support and beahvior for Vapor CI workflows via the new GitHub Actions support for "composite" actions.'
3+
inputs:
4+
command:
5+
description: 'Which support tooling subfunction to execute.'
6+
required: true
7+
outputs:
8+
unit-test-swift-versions:
9+
description: 'The set of Swift version specifiers to run unit tests against.'
10+
value: ${{ steps.unit-test-swift-versions-impl.outputs.data }}
11+
unit-test-swift-runners:
12+
description: 'The set of Swift runners (underlying OS) to run unit tests on.'
13+
value: ${{ steps.unit-test-swift-runners-impl.outputs.data }}
14+
integration-test-swift-versions:
15+
description: 'The set of Swift version specifiers to run integration tests against.'
16+
value: ${{ steps.integration-test-swift-versions-impl.outputs.data }}
17+
integration-test-swift-runners:
18+
description: 'The set of Swift runners (underlying OS) to run integration tests on.'
19+
value: ${{ steps.integration-test-swift-runners-impl.outputs.data }}
20+
runs:
21+
using: "composite"
22+
steps:
23+
- id: unit-test-swift-versions-impl
24+
run: echo "::set-output name=data::UNIMPLEMENTED"
25+
shell: bash
26+
if: ${{ inputs.command == 'unit-test-swift-versions' }}
27+
- id: unit-test-swift-runners-impl
28+
run: echo "::set-output name=data::UNIMPLEMENTED"
29+
shell: bash
30+
if: ${{ inputs.command == 'unit-test-swift-runners' }}
31+
- id: integration-test-swift-versions-impl
32+
run: echo "::set-output name=data::UNIMPLEMENTED"
33+
shell: bash
34+
if: ${{ inputs.command == 'integration-test-swift-versions' }}
35+
- id: integration-test-swift-runners-impl
36+
run: echo "::set-output name=data::UNIMPLEMENTED"
37+
shell: bash
38+
if: ${{ inputs.command == 'integration-test-swift-runners' }}
39+

0 commit comments

Comments
 (0)