File tree 2 files changed +24
-5
lines changed
2 files changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -346,9 +346,28 @@ jobs:
346
346
347
347
with :
348
348
repo : pulumi/pulumictl
349
- - name : Add SDK version tag
350
- run : git tag "sdk/v$PROVIDER_VERSION" && git push origin
351
- " sdk/v$PROVIDER_VERSION"
349
+ - name : Download Go SDK
350
+ uses : actions/download-artifact@v3
351
+ with :
352
+ name : go-sdk.tar.gz
353
+ path : ${{ github.workspace }}/sdk/
354
+ - name : Uncompress Go SDK
355
+ run : tar -zxf ${{ github.workspace }}/sdk/go.tar.gz -C
356
+ ${{ github.workspace }}/sdk/go
357
+ shell : bash
358
+ - uses : pulumi/publish-go-sdk-action@v1
359
+ with :
360
+ repository : ${{ github.repository }}
361
+ base-ref : ${{ github.sha }}
362
+ source : sdk
363
+ path : sdk
364
+ version : ${{ needs.version.outputs.version }}
365
+ additive : false
366
+ # Avoid including other language SDKs & artifacts in the commit
367
+ files : |
368
+ go.*
369
+ go/**
370
+ !*.tar.gz
352
371
name : prerelease
353
372
on :
354
373
push :
Original file line number Diff line number Diff line change @@ -345,10 +345,10 @@ jobs:
345
345
with :
346
346
repo : pulumi/pulumictl
347
347
- name : Download Go SDK
348
- uses : actions/download-artifact@v4
348
+ uses : actions/download-artifact@v3
349
349
with :
350
350
name : go-sdk.tar.gz
351
- path : $$ {{ github.workspace }}/sdk/
351
+ path : ${{ github.workspace }}/sdk/
352
352
- name : Uncompress Go SDK
353
353
run : tar -zxf ${{ github.workspace }}/sdk/go.tar.gz -C
354
354
${{ github.workspace }}/sdk/go
You can’t perform that action at this time.
0 commit comments