Skip to content

Commit

Permalink
Temporarily disabling the publishing of the SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 committed Sep 14, 2020
1 parent 85a2427 commit 3775cca
Showing 1 changed file with 67 additions and 67 deletions.
134 changes: 67 additions & 67 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,73 +233,73 @@ jobs:
with:
args: -f .goreleaser.prerelease.yml --rm-dist --skip-validate
version: latest
publish_sdk:
name: publish_sdk
needs: publish
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Checkout Scripts Repo
uses: actions/checkout@v2
with:
path: ci-scripts
repository: pulumi/scripts
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.goversion }}
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@release/v1-alpha
with:
repo: pulumi/pulumictl
- name: Install Pulumi CLI
uses: pulumi/action-install-pulumi-cli@releases/v1
- name: Setup Node
uses: actions/setup-node@v1
with:
always-auth: true
registry-url: https://registry.npmjs.org
- name: Setup DotNet
uses: actions/setup-dotnet@v1
- name: Setup Python
uses: actions/setup-python@v1
- name: Download Python SDK
uses: actions/download-artifact@v2
with:
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.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.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
run: ./ci-scripts/ci/publish-tfgen-package ${{ github.workspace }}
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
with:
author_name: Failure in publishing SDK
fields: repo,commit,author,action
status: ${{ job.status }}
# publish_sdk:
# name: publish_sdk
# needs: publish
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Repo
# uses: actions/checkout@v2
# - name: Checkout Scripts Repo
# uses: actions/checkout@v2
# with:
# path: ci-scripts
# repository: pulumi/scripts
# - name: Unshallow clone for tags
# run: git fetch --prune --unshallow --tags
# - name: Install Go
# uses: actions/setup-go@v2
# with:
# go-version: ${{ matrix.goversion }}
# - name: Install pulumictl
# uses: jaxxstorm/action-install-gh-release@release/v1-alpha
# with:
# repo: pulumi/pulumictl
# - name: Install Pulumi CLI
# uses: pulumi/action-install-pulumi-cli@releases/v1
# - name: Setup Node
# uses: actions/setup-node@v1
# with:
# always-auth: true
# registry-url: https://registry.npmjs.org
# - name: Setup DotNet
# uses: actions/setup-dotnet@v1
# - name: Setup Python
# uses: actions/setup-python@v1
# - name: Download Python SDK
# uses: actions/download-artifact@v2
# with:
# 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.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.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
# run: ./ci-scripts/ci/publish-tfgen-package ${{ github.workspace }}
# - if: failure() && github.event_name == 'push'
# name: Notify Slack
# uses: 8398a7/action-slack@v3
# with:
# author_name: Failure in publishing SDK
# fields: repo,commit,author,action
# status: ${{ job.status }}
test:
name: test
needs: build_sdks
Expand Down

0 comments on commit 3775cca

Please sign in to comment.