Skip to content

Commit 7c0d04c

Browse files
committed
adding back snapshot publishing
1 parent cdc1920 commit 7c0d04c

File tree

4 files changed

+535
-1160
lines changed

4 files changed

+535
-1160
lines changed

.github/workflows/main.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
node-version: [10.x]
8+
node-version: [12.x]
99

1010
steps:
1111
- uses: actions/checkout@v1
@@ -33,3 +33,21 @@ jobs:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3535
run: npm run semantic-release
36+
- uses: actions/upload-artifact@master
37+
with:
38+
name: build-artifact
39+
path: lib
40+
41+
publish:
42+
runs-on: ubuntu-latest
43+
needs: build
44+
steps:
45+
- uses: actions/checkout@master
46+
- uses: actions/download-artifact@master
47+
with:
48+
name: build-artifact
49+
path: lib
50+
- uses: bvkimball/branch-vars@1.0.1
51+
- env:
52+
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
53+
run: sh snapshot-publish

0 commit comments

Comments
 (0)