Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
CppCXY committed Sep 18, 2023
1 parent 75b428b commit f430265
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ jobs:
- name: Env
# set TAG=DEV if not a tag
run: |
if [[ "${{ github.ref }}" = refs/tags/* ]]; then
export TAG= ${GITHUB_REF:10}
else
export TAG=DEV
fi
echo "TAG=${{env.TAG}}" >> $GITHUB_ENV
if [[ "refs/tags/1.7.0" = refs/tags/* ]]; then
export TAG=${GITHUB_REF:10}
else
export TAG=DEV
fi
echo "TAG=$TAG" >> $GITHUB_ENV
shell: bash
- name: Node.js
uses: actions/setup-node@v3
Expand Down

0 comments on commit f430265

Please sign in to comment.