Skip to content

Commit

Permalink
Merge pull request #424 from pulumi/roll-out-automation
Browse files Browse the repository at this point in the history
Fixing up unzipping SDK before publishing
  • Loading branch information
stack72 authored Aug 31, 2020
2 parents 2305c10 + 75afac1 commit a1f9ebd
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 18 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,20 +210,26 @@ jobs:
- name: Download Python SDK
uses: actions/download-artifact@v2
with:
name: python-sdk
path: ${{ github.workspace}}/sdk/python
name: python-sdk.tar.gz
path: ${{ github.workspace}}/sdk
- name: Unzip Python SDK
run: tar -zxf ${{ github.workspace}}/sdk/python.tar.gz -C ${{ github.workspace}}/sdk/python
- name: Install Twine
run: python -m pip install pip twine
- name: Download NodeJS SDK
uses: actions/download-artifact@v2
with:
name: nodejs-sdk
path: ${{ github.workspace}}/sdk/nodejs
name: nodejs-sdk.tar.gz
path: ${{ github.workspace}}/sdk
- name: Unzip NodeJS SDK
run: tar -zxf ${{ github.workspace}}/sdk/nodejs.tar.gz -C ${{ github.workspace}}/sdk/nodejs
- name: Download DotNet SDK
uses: actions/download-artifact@v2
with:
name: dotnet-sdk
path: ${{ github.workspace}}/sdk/dotnet
name: dotnet-sdk.tar.gz
path: ${{ github.workspace}}/sdk
- name: Unzip DotNet SDK
run: tar -zxf ${{ github.workspace}}/sdk/dotnet.tar.gz -C ${{ github.workspace}}/sdk/dotnet
- env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
name: Publish SDKs
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,20 +198,26 @@ jobs:
- name: Download Python SDK
uses: actions/download-artifact@v2
with:
name: python-sdk
path: ${{ github.workspace}}/sdk/python
name: python-sdk.tar.gz
path: ${{ github.workspace}}/sdk
- name: Unzip Python SDK
run: tar -zxf ${{ github.workspace}}/sdk/python.tar.gz -C ${{ github.workspace}}/sdk/python
- name: Install Twine
run: python -m pip install pip twine
- name: Download NodeJS SDK
uses: actions/download-artifact@v2
with:
name: nodejs-sdk
path: ${{ github.workspace}}/sdk/nodejs
name: nodejs-sdk.tar.gz
path: ${{ github.workspace}}/sdk
- name: Unzip NodeJS SDK
run: tar -zxf ${{ github.workspace}}/sdk/nodejs.tar.gz -C ${{ github.workspace}}/sdk/nodejs
- name: Download DotNet SDK
uses: actions/download-artifact@v2
with:
name: dotnet-sdk
path: ${{ github.workspace}}/sdk/dotnet
name: dotnet-sdk.tar.gz
path: ${{ github.workspace}}/sdk
- name: Unzip DotNet SDK
run: tar -zxf ${{ github.workspace}}/sdk/dotnet.tar.gz -C ${{ github.workspace}}/sdk/dotnet
- env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
name: Publish SDKs
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,20 +218,26 @@ jobs:
- name: Download Python SDK
uses: actions/download-artifact@v2
with:
name: python-sdk
path: ${{ github.workspace}}/sdk/python
name: python-sdk.tar.gz
path: ${{ github.workspace}}/sdk
- name: Unzip Python SDK
run: tar -zxf ${{ github.workspace}}/sdk/python.tar.gz -C ${{ github.workspace}}/sdk/python
- name: Install Twine
run: python -m pip install pip twine
- name: Download NodeJS SDK
uses: actions/download-artifact@v2
with:
name: nodejs-sdk
path: ${{ github.workspace}}/sdk/nodejs
name: nodejs-sdk.tar.gz
path: ${{ github.workspace}}/sdk
- name: Unzip NodeJS SDK
run: tar -zxf ${{ github.workspace}}/sdk/nodejs.tar.gz -C ${{ github.workspace}}/sdk/nodejs
- name: Download DotNet SDK
uses: actions/download-artifact@v2
with:
name: dotnet-sdk
path: ${{ github.workspace}}/sdk/dotnet
name: dotnet-sdk.tar.gz
path: ${{ github.workspace}}/sdk
- name: Unzip DotNet SDK
run: tar -zxf ${{ github.workspace}}/sdk/dotnet.tar.gz -C ${{ github.workspace}}/sdk/dotnet
- env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
name: Publish SDKs
Expand Down

0 comments on commit a1f9ebd

Please sign in to comment.