Skip to content

Commit

Permalink
Download & restore Go SDK before pushing
Browse files Browse the repository at this point in the history
- Ensure we have the SDK with the latest version number included before publishing.
  • Loading branch information
danielrbradley committed May 9, 2024
1 parent 5291885 commit a9c23ec
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,15 @@ jobs:
- id: version
uses: pulumi/provider-version-action@v1
#{{- if .Config.publish.goSdk.usePush }}#
- 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: #{{ .Config.publish.goSdk.repository }}#
Expand Down

0 comments on commit a9c23ec

Please sign in to comment.