Skip to content

Commit d0b3f3f

Browse files
committed
Fix gh workflow formatting
1 parent 6325ece commit d0b3f3f

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

.github/workflows/publish.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
---
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 }}

0 commit comments

Comments
 (0)