-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial conversion to use of composite GH actions
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: 'Vapor CI Support Tools' | ||
description: 'Provides common support and beahvior for Vapor CI workflows via the new GitHub Actions support for "composite" actions.' | ||
inputs: | ||
command: | ||
description: 'Which support tooling subfunction to execute.' | ||
required: true | ||
outputs: | ||
unit-test-swift-versions: | ||
description: 'The set of Swift version specifiers to run unit tests against.' | ||
value: ${{ steps.unit-test-swift-versions-impl.outputs.data }} | ||
unit-test-swift-runners: | ||
description: 'The set of Swift runners (underlying OS) to run unit tests on.' | ||
value: ${{ steps.unit-test-swift-runners-impl.outputs.data }} | ||
integration-test-swift-versions: | ||
description: 'The set of Swift version specifiers to run integration tests against.' | ||
value: ${{ steps.integration-test-swift-versions-impl.outputs.data }} | ||
integration-test-swift-runners: | ||
description: 'The set of Swift runners (underlying OS) to run integration tests on.' | ||
value: ${{ steps.integration-test-swift-runners-impl.outputs.data }} | ||
runs: | ||
using: "composite" | ||
steps: | ||
- id: unit-test-swift-versions-impl | ||
run: echo "::set-output name=data::UNIMPLEMENTED" | ||
shell: bash | ||
if: ${{ inputs.command == 'unit-test-swift-versions' }} | ||
- id: unit-test-swift-runners-impl | ||
run: echo "::set-output name=data::UNIMPLEMENTED" | ||
shell: bash | ||
if: ${{ inputs.command == 'unit-test-swift-runners' }} | ||
- id: integration-test-swift-versions-impl | ||
run: echo "::set-output name=data::UNIMPLEMENTED" | ||
shell: bash | ||
if: ${{ inputs.command == 'integration-test-swift-versions' }} | ||
- id: integration-test-swift-runners-impl | ||
run: echo "::set-output name=data::UNIMPLEMENTED" | ||
shell: bash | ||
if: ${{ inputs.command == 'integration-test-swift-runners' }} | ||
|