Skip to content

Commit b6a14c1

Browse files
committed
ci: only upload dev and canary
rc versions of projects should use production dependencies
1 parent 62be8a1 commit b6a14c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/workflow.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
node-version: 14
2020
- run: npm install
2121
- run: npm run build
22-
- run: bash ".ci/publish_bintray.sh" "${GITHUB_REF##*/}"
22+
- run: |
23+
if [ $(echo "${{ github.ref }}" | grep -P "dev|canary") ]; then
24+
bash ".ci/publish_bintray.sh" "${GITHUB_REF##*/}"
25+
fi
2326
env:
2427
BINTRAY_API_TOKEN: ${{ secrets.BINTRAY_API_TOKEN }}

0 commit comments

Comments
 (0)