Skip to content

Commit

Permalink
Update release / prerelease yaml files to match pull-request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jwdb committed Jul 24, 2023
1 parent 3336a0f commit cefb007
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 21 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install pulumictl
uses: jaxxstorm/[email protected]
with:
repo: pulumi/pulumictl
- name: Setup Go
uses: actions/setup-go@v4
with:
Expand Down Expand Up @@ -223,6 +227,11 @@ jobs:
path: ${{ github.workspace}}/sdk
- name: Unzip DotNet SDK
run: tar -zxf ${{ github.workspace}}/sdk/dotnet.tar.gz -C ${{ github.workspace}}/sdk/dotnet
- name: Checkout Scripts Repo
uses: actions/checkout@v3
with:
path: ci-scripts
repository: pulumi/scripts
- env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
name: Publish SDKs
Expand Down
41 changes: 20 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
- name: Checkout Scripts Repo
- name: Unshallow clone for tags
uses: actions/checkout@v3
with:
path: ci-scripts
repository: pulumi/scripts
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v4
with:
Expand Down Expand Up @@ -59,6 +58,11 @@ jobs:
-exec chmod +x {} \;
- name: Build SDK
run: make build_${{ matrix.language }}
- name: Checkout Scripts Repo
uses: actions/checkout@v3
with:
path: ci-scripts
repository: pulumi/scripts
- name: Check worktree clean
run: ${{ github.workspace }}/ci-scripts/ci/check-worktree-is-clean
- name: Compress SDK folder
Expand Down Expand Up @@ -93,11 +97,10 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
- name: Checkout Scripts Repo
- name: Unshallow clone for tags
uses: actions/checkout@v3
with:
path: ci-scripts
repository: pulumi/scripts
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v4
with:
Expand Down Expand Up @@ -128,11 +131,8 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Checkout Scripts Repo
uses: actions/checkout@v3
with:
path: ci-scripts
repository: pulumi/scripts
submodules: recursive
- name: Unshallow clone for tags
uses: actions/checkout@v3
with:
Expand All @@ -159,11 +159,6 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
- name: Checkout Scripts Repo
uses: actions/checkout@v3
with:
path: ci-scripts
repository: pulumi/scripts
- name: Install pulumictl
uses: jaxxstorm/[email protected]
with:
Expand All @@ -186,11 +181,10 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
- name: Checkout Scripts Repo
- name: Unshallow clone for tags
uses: actions/checkout@v3
with:
path: ci-scripts
repository: pulumi/scripts
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v4
with:
Expand All @@ -202,14 +196,14 @@ jobs:
- name: Install Pulumi CLI
uses: pulumi/actions@v4
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
always-auth: true
registry-url: https://registry.npmjs.org
- name: Setup DotNet
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
- name: Download Python SDK
uses: actions/download-artifact@v3
with:
Expand All @@ -233,6 +227,11 @@ jobs:
path: ${{ github.workspace}}/sdk
- name: Unzip DotNet SDK
run: tar -zxf ${{ github.workspace}}/sdk/dotnet.tar.gz -C ${{ github.workspace}}/sdk/dotnet
- name: Checkout Scripts Repo
uses: actions/checkout@v3
with:
path: ci-scripts
repository: pulumi/scripts
- env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
name: Publish SDKs
Expand Down

0 comments on commit cefb007

Please sign in to comment.