Update GitHub Actions workflows. (#71)

This PR was automatically generated by the
update-native-provider-workflows workflow in the pulumi/ci-mgmt repo,
from commit 6ef5444d6e792b70fd2ed0791d776a6f9f77714e.
This commit is contained in:
Pulumi Bot
2024-05-17 03:26:21 -07:00
committed by GitHub
parent 1d6038bb07
commit c9e5913af1
5 changed files with 44 additions and 56 deletions

View File

@@ -69,8 +69,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:
@@ -174,8 +172,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:
@@ -277,8 +273,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:
@@ -395,8 +389,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:
@@ -461,8 +453,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:
@@ -540,8 +530,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:
@@ -571,11 +559,10 @@ 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