We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b99047 commit 70b9062Copy full SHA for 70b9062
1 file changed
.github/workflows/ci.yml
@@ -7,15 +7,15 @@ on:
7
jobs:
8
build:
9
runs-on: ubuntu-latest
10
- if: ${{ !startsWith(github.ref, 'refs/tags/') }}
+ if: github.ref_type == "branch"
11
steps:
12
- uses: actions/checkout@v2
13
14
- name: install dependencies
15
run: yarn install
16
17
- name: set development version
18
- run: node version-bump.mjs dev-${{ github.sha }}
+ run: node version-bump.mjs "dev-$(git rev-parse --short HEAD)"
19
20
- name: build
21
run: yarn build
0 commit comments