generated from pulumi/pulumi-tf-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (48 loc) · 1.28 KB
/
release.yml
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
50
51
52
53
54
55
56
57
58
59
60
name: release
on:
push:
workflow_dispatch:
tags:
- "*"
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
packages: write
jobs:
releaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ">=1.21.0"
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: "https://registry.npmjs.org"
scope: "@sst-provider"
- name: Install pulumictl
uses: jaxxstorm/[email protected]
with:
repo: pulumi/pulumictl
- name: Go Mod
working-directory: ./provider
run: go mod download
- run: make build_nodejs
#- uses: goreleaser/goreleaser-action@v4
# with:
# distribution: goreleaser
# version: latest
# args: release --clean
# env:
# GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
# AUR_KEY: ${{ secrets.AUR_KEY }}
- run: npm run publish
working-directory: ./sdk/nodejs
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}