File tree Expand file tree Collapse file tree 1 file changed +32
-32
lines changed Expand file tree Collapse file tree 1 file changed +32
-32
lines changed Original file line number Diff line number Diff line change 1
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 }}
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 }}
You can’t perform that action at this time.
0 commit comments