Skip to content

Commit

Permalink
fix: add commit process
Browse files Browse the repository at this point in the history
  • Loading branch information
darrytai committed May 22, 2024
1 parent 786162e commit 6551040
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Build TMIcons

on: push
on:
push:
branches:
- v4
paths:
- 'data/**'

jobs:
update-file:
Expand Down Expand Up @@ -43,7 +48,17 @@ jobs:
run: |
npm i
echo "Tonic UI data built successfully."
- name: Update fonts, svg icons, and Tonic UI data
run: |
majorVersion=$(jq -r '.fontPref.metadata.majorVersion' data/Preferences.json)
minorVersion=$(jq -r '.fontPref.metadata.minorVersion' data/Preferences.json)
version="$majorVersion.$minorVersion.0"
echo "VERSION=$version" >> $GITHUB_ENV
git status
# - name: Configure Git
# run: |
# git config --global user.name 'HIE UX Service'
Expand Down

0 comments on commit 6551040

Please sign in to comment.