-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GitHub Actions workflows. (#3938)
This PR was automatically generated by the update-workflows-single-bridged-provider workflow in the pulumi/ci-mgmt repo, from commit c34e73d55a9ea7e72ec250dd792b0c6b5a94cc0e.
- Loading branch information
1 parent
e354011
commit 5d36c9b
Showing
126 changed files
with
6,692 additions
and
40 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
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,6 +108,13 @@ jobs: | |
run: make build_${{ matrix.language }} | ||
- name: Check worktree clean | ||
uses: pulumi/git-status-check-action@v1 | ||
with: | ||
allowed-changes: | | ||
sdk/**/pulumi-plugin.json | ||
sdk/dotnet/Pulumi.*.csproj | ||
sdk/go/*/internal/pulumiUtilities.go | ||
sdk/nodejs/package.json | ||
sdk/python/pyproject.toml | ||
- name: Compress SDK folder | ||
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} . | ||
- name: Upload artifacts | ||
|
@@ -320,6 +327,44 @@ jobs: | |
if: failure() | ||
name: Send Publish Failure To Slack | ||
uses: rtCamp/action-slack-notify@v2 | ||
publish_go_sdk: | ||
name: publish_go_sdk | ||
needs: publish_sdk | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
tag: v0.0.46 | ||
repo: pulumi/pulumictl | ||
- id: version | ||
uses: pulumi/provider-version-action@v1 | ||
- name: Download Go SDK | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: go-sdk.tar.gz | ||
path: ${{ github.workspace }}/sdk/ | ||
- name: Uncompress Go SDK | ||
run: tar -zxf ${{ github.workspace }}/sdk/go.tar.gz -C | ||
${{ github.workspace }}/sdk/go | ||
shell: bash | ||
- uses: pulumi/publish-go-sdk-action@v1 | ||
with: | ||
repository: ${{ github.repository }} | ||
base-ref: ${{ github.sha }} | ||
source: sdk | ||
path: sdk | ||
version: ${{ steps.version.outputs.version }} | ||
additive: false | ||
# Avoid including other language SDKs & artifacts in the commit | ||
files: | | ||
go.* | ||
go/** | ||
!*.tar.gz | ||
test: | ||
name: test | ||
needs: build_sdk | ||
|
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
Oops, something went wrong.