Skip to content

Commit 6325ece

Browse files
committed
0.1 - Release with JSII
1 parent 1070ee9 commit 6325ece

File tree

19 files changed

+1066
-7230
lines changed

19 files changed

+1066
-7230
lines changed

.github/workflows/publish.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Publish CDK packages
3+
4+
on:
5+
push:
6+
tags:
7+
- "v*"
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Get the version
15+
id: get_version
16+
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
17+
18+
- name: Checkout code
19+
uses: actions/checkout@v1
20+
with:
21+
fetch-depth: 1
22+
23+
- name: Publish packages
24+
uses: udondan/jsii-publish@v0.8.3
25+
with:
26+
VERSION: ${{ steps.get_version.outputs.VERSION }}
27+
BUILD_SOURCE: true
28+
BUILD_PACKAGES: true
29+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
31+
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
GITHUB_REPOSITORY: ${{ github.repository }}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ up the entry file:
2626
The `GolangFunction` construct exposes some options via properties: `buildCmd`, `buildDir`, `entry` and `handler`, `extraEnv`.
2727

2828
By default, your Golang code is compiled using `go build -ldflags="-s -w"` command with `GOOS=linux` env variable.
29+
30+
Project sponsored by [Dynobase](https://dynobase.dev)

example/.DS_Store

-6 KB
Binary file not shown.

example/.gitignore

Lines changed: 0 additions & 11 deletions
This file was deleted.

example/.npmignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

example/README.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

example/bin/test-stack.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

example/cdk.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

example/jest.config.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)