-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install tools package publishing (#1004)
Re-use our own tool setups which can include additional options for caching rather than duplicating the setup logic into the publishing action. This depends on first merging: - pulumi/pulumi-package-publisher#32 - #1003 This PR assumes that `pulumi/pulumi-package-publisher` will then be published as `v0.0.19` (the next version).
- Loading branch information
1 parent
f53f35b
commit f8daeb9
Showing
13 changed files
with
100 additions
and
58 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 |
---|---|---|
|
@@ -160,7 +160,7 @@ actionVersions: | |
publish: | ||
# publisherAction is the version of the pulumi-package-publisher action to use. | ||
# This should be pinned to just the major version once v1 is released. | ||
publisherAction: pulumi/[email protected].18 | ||
publisherAction: pulumi/[email protected].19 | ||
# passed to the sdk input of pulumi-package-publisher | ||
# This is overridden in pulumi-local to disable python | ||
sdk: all | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,15 +135,19 @@ jobs: | |
- publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Setup tools | ||
uses: ./.github/actions/setup-tools | ||
with: | ||
tools: pulumicli, pulumictl, go, node, dotnet, python, java | ||
- name: Publish SDKs | ||
uses: pulumi/[email protected].18 | ||
uses: pulumi/[email protected].19 | ||
with: | ||
sdk: all | ||
version: ${{ needs.prerequisites.outputs.version }} | ||
dotnet-version: "6.0.x" | ||
java-version: "11" | ||
node-version: "20.x" | ||
python-version: "3.11.8" | ||
|
||
tag_release_if_labeled_needs_release: | ||
name: Tag release if labeled as needs-release | ||
|
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 |
---|---|---|
|
@@ -95,15 +95,19 @@ jobs: | |
- publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Setup tools | ||
uses: ./.github/actions/setup-tools | ||
with: | ||
tools: pulumicli, pulumictl, go, node, dotnet, python, java | ||
- name: Publish SDKs | ||
uses: pulumi/[email protected].18 | ||
uses: pulumi/[email protected].19 | ||
with: | ||
sdk: all | ||
version: ${{ needs.prerequisites.outputs.version }} | ||
dotnet-version: "6.0.x" | ||
java-version: "11" | ||
node-version: "20.x" | ||
python-version: "3.11.8" | ||
publish_go_sdk: | ||
name: publish_go_sdk | ||
needs: | ||
|
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 |
---|---|---|
|
@@ -110,15 +110,19 @@ jobs: | |
- publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Setup tools | ||
uses: ./.github/actions/setup-tools | ||
with: | ||
tools: pulumicli, pulumictl, go, node, dotnet, python, java | ||
- name: Publish SDKs | ||
uses: pulumi/[email protected].18 | ||
uses: pulumi/[email protected].19 | ||
with: | ||
sdk: all | ||
version: ${{ needs.prerequisites.outputs.version }} | ||
dotnet-version: "6.0.x" | ||
java-version: "11" | ||
node-version: "20.x" | ||
python-version: "3.11.8" | ||
publish_go_sdk: | ||
name: publish_go_sdk | ||
needs: | ||
|
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 |
---|---|---|
|
@@ -131,15 +131,17 @@ jobs: | |
- publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Setup tools | ||
uses: ./.github/actions/setup-tools | ||
with: | ||
tools: pulumicli, pulumictl, go, node, dotnet, python, java | ||
- name: Publish SDKs | ||
uses: pulumi/[email protected].18 | ||
uses: pulumi/[email protected].19 | ||
with: | ||
sdk: all | ||
version: ${{ needs.prerequisites.outputs.version }} | ||
dotnet-version: "6.0.x" | ||
java-version: "11" | ||
node-version: "20.x" | ||
python-version: "3.11.8" | ||
|
||
tag_release_if_labeled_needs_release: | ||
name: Tag release if labeled as needs-release | ||
|
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 |
---|---|---|
|
@@ -93,15 +93,17 @@ jobs: | |
- publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Setup tools | ||
uses: ./.github/actions/setup-tools | ||
with: | ||
tools: pulumicli, pulumictl, go, node, dotnet, python, java | ||
- name: Publish SDKs | ||
uses: pulumi/[email protected].18 | ||
uses: pulumi/[email protected].19 | ||
with: | ||
sdk: all | ||
version: ${{ needs.prerequisites.outputs.version }} | ||
dotnet-version: "6.0.x" | ||
java-version: "11" | ||
node-version: "20.x" | ||
python-version: "3.11.8" | ||
publish_go_sdk: | ||
name: publish_go_sdk | ||
needs: | ||
|
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 |
---|---|---|
|
@@ -108,15 +108,17 @@ jobs: | |
- publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Setup tools | ||
uses: ./.github/actions/setup-tools | ||
with: | ||
tools: pulumicli, pulumictl, go, node, dotnet, python, java | ||
- name: Publish SDKs | ||
uses: pulumi/[email protected].18 | ||
uses: pulumi/[email protected].19 | ||
with: | ||
sdk: all | ||
version: ${{ needs.prerequisites.outputs.version }} | ||
dotnet-version: "6.0.x" | ||
java-version: "11" | ||
node-version: "20.x" | ||
python-version: "3.11.8" | ||
publish_go_sdk: | ||
name: publish_go_sdk | ||
needs: | ||
|
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 |
---|---|---|
|
@@ -144,15 +144,17 @@ jobs: | |
- publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Setup tools | ||
uses: ./.github/actions/setup-tools | ||
with: | ||
tools: pulumicli, pulumictl, go, node, dotnet, python, java | ||
- name: Publish SDKs | ||
uses: pulumi/[email protected].18 | ||
uses: pulumi/[email protected].19 | ||
with: | ||
sdk: all | ||
version: ${{ needs.prerequisites.outputs.version }} | ||
dotnet-version: "6.0.x" | ||
java-version: "11" | ||
node-version: "20.x" | ||
python-version: "3.11.8" | ||
|
||
tag_release_if_labeled_needs_release: | ||
name: Tag release if labeled as needs-release | ||
|
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 |
---|---|---|
|
@@ -106,15 +106,17 @@ jobs: | |
- publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Setup tools | ||
uses: ./.github/actions/setup-tools | ||
with: | ||
tools: pulumicli, pulumictl, go, node, dotnet, python, java | ||
- name: Publish SDKs | ||
uses: pulumi/[email protected].18 | ||
uses: pulumi/[email protected].19 | ||
with: | ||
sdk: all | ||
version: ${{ needs.prerequisites.outputs.version }} | ||
dotnet-version: "6.0.x" | ||
java-version: "11" | ||
node-version: "20.x" | ||
python-version: "3.11.8" | ||
publish_go_sdk: | ||
name: publish_go_sdk | ||
needs: | ||
|
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 |
---|---|---|
|
@@ -121,15 +121,17 @@ jobs: | |
- publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Setup tools | ||
uses: ./.github/actions/setup-tools | ||
with: | ||
tools: pulumicli, pulumictl, go, node, dotnet, python, java | ||
- name: Publish SDKs | ||
uses: pulumi/[email protected].18 | ||
uses: pulumi/[email protected].19 | ||
with: | ||
sdk: all | ||
version: ${{ needs.prerequisites.outputs.version }} | ||
dotnet-version: "6.0.x" | ||
java-version: "11" | ||
node-version: "20.x" | ||
python-version: "3.11.8" | ||
publish_go_sdk: | ||
name: publish_go_sdk | ||
needs: | ||
|