We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7df620 commit ea80c3cCopy full SHA for ea80c3c
.github/workflows/workflow.yml
@@ -14,13 +14,12 @@ jobs:
14
steps:
15
- name: Checkout
16
uses: actions/checkout@v2
17
- - name: Extract branch name
18
- shell: bash
19
- run: echo "::set-env name=BRANCH_NAME::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')"
20
- name: Use Node.js ${{ matrix.node-version }}
21
uses: actions/setup-node@v1
22
with:
23
node-version: 14
24
- run: npm install
25
- run: npm run build
26
- - run: bash ".ci/publish_$BRANCH_NAME.sh"
+ - run: bash ".ci/publish_${GITHUB_REF##*/}.sh"
+ env:
+ BINTRAY_API_TOKEN: ${{ secrets.BINTRAY_API_TOKEN }}
0 commit comments