Skip to content

Commit 0e7248c

Browse files
author
Hayden Young
committed
fix(ci): copy symbiosis-cloud/pulumi-symbiosis config, i know it works
1 parent 340773b commit 0e7248c

File tree

1 file changed

+28
-15
lines changed

1 file changed

+28
-15
lines changed

.github/workflows/release.yml

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,69 +29,80 @@ env:
2929
PYPI_USERNAME: "__token__"
3030
PYPI_REPOSITORY_URL: ""
3131
PUBLISH_PYPI: true
32+
3233
jobs:
3334
publish_binary:
3435
name: publish
3536
runs-on: ubuntu-latest
3637
steps:
3738
- name: Checkout Repo
38-
uses: actions/checkout@v2
39+
uses: actions/checkout@v3
3940
- name: Unshallow clone for tags
4041
run: git fetch --prune --unshallow --tags
4142
- name: Install Go
42-
uses: actions/setup-go@v2
43+
uses: actions/setup-go@v3
4344
with:
4445
go-version: ${{matrix.goversion}}
4546
- name: Install pulumictl
46-
uses: jaxxstorm/action-install-gh-release@v1.5.0
47+
uses: jaxxstorm/action-install-gh-release@v1.7.1
4748
with:
4849
repo: pulumi/pulumictl
4950
- name: Set PreRelease Version
5051
run: echo "GORELEASER_CURRENT_TAG=v$(pulumictl get version --language generic)" >> $GITHUB_ENV
5152
- name: Run GoReleaser
52-
uses: goreleaser/goreleaser-action@v2
53+
uses: goreleaser/goreleaser-action@v3
5354
with:
5455
args: -p 3 release --rm-dist
5556
version: latest
5657
strategy:
5758
fail-fast: true
5859
matrix:
5960
goversion:
60-
- 1.17.x
61+
- 1.19.x
62+
6163
publish_sdk:
6264
name: Publish SDKs
6365
runs-on: ubuntu-latest
6466
needs: publish_binary
6567
steps:
6668
- name: Checkout Repo
67-
uses: actions/checkout@v2
69+
uses: actions/checkout@v3
70+
6871
- name: Unshallow clone for tags
6972
run: git fetch --prune --unshallow --tags
73+
7074
- name: Install Go
71-
uses: actions/setup-go@v2
75+
uses: actions/setup-go@v3
7276
with:
7377
go-version: ${{ matrix.goversion }}
78+
7479
- name: Install pulumictl
75-
uses: jaxxstorm/action-install-gh-release@v1.5.0
80+
uses: jaxxstorm/action-install-gh-release@v1.7.1
7681
with:
7782
repo: pulumi/pulumictl
83+
7884
- name: Install Pulumi CLI
7985
uses: pulumi/[email protected]
86+
8087
- name: Setup Node
81-
uses: actions/setup-node@v1
88+
uses: actions/setup-node@v3
8289
with:
8390
node-version: ${{matrix.nodeversion}}
8491
registry-url: ${{env.NPM_REGISTRY_URL}}
92+
8593
- name: Setup DotNet
86-
uses: actions/setup-dotnet@v1
94+
uses: actions/setup-dotnet@v3
8795
with:
8896
dotnet-version: ${{matrix.dotnetverson}}
97+
8998
- name: Setup Python
90-
uses: actions/setup-python@v1
99+
uses: actions/setup-python@v4
91100
with:
92101
python-version: ${{matrix.pythonversion}}
102+
93103
- name: Build SDK
94-
run: make build_${{ matrix.language }}_sdk
104+
run: make build_${{ matrix.language }}
105+
95106
- name: Check worktree clean
96107
run: |
97108
git update-index -q --refresh
@@ -108,12 +119,14 @@ jobs:
108119
user: ${{ env.PYPI_USERNAME }}
109120
password: ${{ env.PYPI_PASSWORD }}
110121
packages_dir: ${{github.workspace}}/sdk/python/bin/dist
122+
111123
- if: ${{ matrix.language == 'nodejs' && env.PUBLISH_NPM == 'true' }}
112124
uses: JS-DevTools/npm-publish@v1
113125
with:
114126
access: "public"
115127
token: ${{ env.NPM_TOKEN }}
116128
package: ${{github.workspace}}/sdk/nodejs/bin/package.json
129+
117130
- if: ${{ matrix.language == 'dotnet' && env.PUBLISH_NUGET == 'true' }}
118131
name: publish nuget package
119132
run: |
@@ -123,7 +136,7 @@ jobs:
123136
fail-fast: true
124137
matrix:
125138
dotnetversion:
126-
- 6.0.113
139+
- 6.0.x
127140
goversion:
128141
- 1.19.x
129142
language:
@@ -132,6 +145,6 @@ jobs:
132145
- dotnet
133146
- go
134147
nodeversion:
135-
- 18.x
148+
- 16.x
136149
pythonversion:
137-
- "3.10"
150+
- "3.9"

0 commit comments

Comments
 (0)