-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING: Remove installing tools (#32)
Leave it to the caller to install the prerequisite tools as additional options might want to be used for caching etc. - Remove tool install steps. - Remove step to check out repository. - Remove all version inputs. - Add tool pre-requisites to the documentation. The other half of the work to integrate this breaking change into ci-mgmt is in: - pulumi/ci-mgmt#1004
- Loading branch information
1 parent
17d714b
commit ecb7cac
Showing
6 changed files
with
14 additions
and
73 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
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 |
---|---|---|
|
@@ -4,18 +4,6 @@ inputs: | |
version: | ||
description: The version of the provider being published. | ||
required: true | ||
dotnet-version: | ||
description: The version of Dotnet being used in the provider | ||
required: true | ||
java-version: | ||
description: The version of Java being used in the provider | ||
required: true | ||
node-version: | ||
description: The version of Node being used in the provider | ||
required: true | ||
python-version: | ||
description: The version of Python being used in the provider | ||
required: true | ||
assertPrerelease: | ||
description: | | ||
Assert that `version` argument describes a pre-release. | ||
|
@@ -67,20 +55,6 @@ runs: | |
exit 1; | ||
fi | ||
shell: bash | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ github.repository }} | ||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ env.GOVERSION }} | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/action-install-pulumi-cli@v2 | ||
|
||
# `uses:` statements do not support expressions | ||
# (https://github.com/actions/runner/issues/895), so this is invalid: | ||
|
@@ -104,22 +78,18 @@ runs: | |
if: (contains(inputs.sdk, 'nodejs') || (contains(inputs.sdk, 'all') && !contains(inputs.sdk, '!all'))) && !contains(inputs.sdk, '!nodejs') | ||
with: | ||
version: ${{ inputs.version }} | ||
node-version: ${{ inputs.node-version }} | ||
- name: .NET - Publish to Nuget | ||
if: (contains(inputs.sdk, 'dotnet') || (contains(inputs.sdk, 'all') && !contains(inputs.sdk, '!all'))) && !contains(inputs.sdk, '!dotnet') | ||
uses: ./.pulumi-package-publish/lang/dotnet | ||
with: | ||
version: ${{ inputs.version }} | ||
dotnet-version: ${{ inputs.dotnet-version }} | ||
- name: Python - Publish to PyPi | ||
if: (contains(inputs.sdk, 'python') || (contains(inputs.sdk, 'all') && !contains(inputs.sdk, '!all'))) && !contains(inputs.sdk, '!python') | ||
uses: ./.pulumi-package-publish/lang/python | ||
with: | ||
version: ${{ inputs.version }} | ||
python-version: ${{ inputs.python-version }} | ||
- name: Java - Publish to Maven | ||
if: (contains(inputs.sdk, 'java') || (contains(inputs.sdk, 'all') && !contains(inputs.sdk, '!all'))) && !contains(inputs.sdk, '!java') | ||
uses: ./.pulumi-package-publish/lang/java | ||
with: | ||
version: ${{ inputs.version }} | ||
java-version: ${{ inputs.java-version }} |
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
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
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
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