Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update release / prerelease yaml files to match pull-request.yml #10

Merged
merged 1 commit into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/action-install-gh-release@v1.1.0
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/action-install-gh-release@v1.1.0
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
Loading