-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (49 loc) · 1.2 KB
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: main
"on":
push:
branches:
- main
paths-ignore:
- CHANGELOG.md
tags-ignore:
- v*
- sdk/*
- "**"
jobs:
build_sdks:
name: Build SDKs
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "1.21.x"
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Setup DotNet
uses: actions/setup-dotnet@v4
with:
dotnet-version: "6.0.302"
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Pulumi CLI
uses: pulumi/actions@v5
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@v1.11.0
with:
repo: pulumi/pulumictl
- name: generate sdks
run: task generate_sdks