generated from pulumi/pulumi-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 27
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. (#443)
This PR was automatically generated by the update-native-provider-workflows workflow in the pulumi/ci-mgmt repo, from commit f90969f9941004911d8be12751ca879ebde66660. --------- Co-authored-by: Daniel Bradley <[email protected]>
- Loading branch information
1 parent
36798ab
commit bfd87d8
Showing
5 changed files
with
44 additions
and
56 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 |
---|---|---|
|
@@ -47,8 +47,6 @@ jobs: | |
uses: pulumi/provider-version-action@v1 | ||
with: | ||
set-env: PROVIDER_VERSION | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
|
@@ -118,8 +116,6 @@ jobs: | |
uses: pulumi/provider-version-action@v1 | ||
with: | ||
set-env: PROVIDER_VERSION | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
|
@@ -218,8 +214,6 @@ jobs: | |
uses: pulumi/provider-version-action@v1 | ||
with: | ||
set-env: PROVIDER_VERSION | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
|
@@ -324,8 +318,6 @@ jobs: | |
uses: pulumi/provider-version-action@v1 | ||
with: | ||
set-env: PROVIDER_VERSION | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
|
@@ -390,8 +382,6 @@ jobs: | |
path: ci-scripts | ||
repository: pulumi/scripts | ||
- run: echo "ci-scripts" >> .git/info/exclude | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
|
@@ -469,8 +459,6 @@ jobs: | |
uses: pulumi/provider-version-action@v1 | ||
with: | ||
set-env: PROVIDER_VERSION | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
|
@@ -500,19 +488,18 @@ jobs: | |
- name: Uncompress java SDK | ||
run: tar -zxf ${{github.workspace}}/sdk/java.tar.gz -C | ||
${{github.workspace}}/sdk/java | ||
- name: Set PACKAGE_VERSION to Env | ||
run: echo "PACKAGE_VERSION=$(pulumictl get version --language generic)" >> | ||
$GITHUB_ENV | ||
- name: Publish Java SDK | ||
uses: gradle/gradle-build-action@v3 | ||
env: | ||
PACKAGE_VERSION: ${{ env.PROVIDER_VERSION }} | ||
with: | ||
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository | ||
build-root-directory: ./sdk/java | ||
gradle-version: 7.4.1 | ||
pubish_go_sdk: | ||
publish_go_sdk: | ||
runs-on: ubuntu-latest | ||
name: publish-go-sdk | ||
needs: publish-sdk | ||
needs: publish_sdk | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
|
@@ -546,7 +533,7 @@ jobs: | |
!*.tar.gz | ||
dispatch_docs_build: | ||
runs-on: ubuntu-latest | ||
needs: tag_sdk | ||
needs: publish_go_sdk | ||
steps: | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
|
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