Skip to content

Commit 14b801e

Browse files
committed
update the prod action
1 parent 7c78692 commit 14b801e

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/dev-build.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ jobs:
4141
- name: Checkout
4242
uses: actions/checkout@v3
4343

44-
- name: Update version number
45-
run: |
46-
VERSION=${GITHUB_REF//*\/}
47-
echo "export default { version: '$VERSION' };" > src/versionInfo.ts
48-
4944
# Setup gcloud CLI
5045
- name: Setup CLI
5146
uses: google-github-actions/setup-gcloud@94337306dda8180d967a56932ceb4ddcf01edae7

.github/workflows/prod-build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ jobs:
3434
steps:
3535
- name: Checkout
3636
uses: actions/checkout@v2
37+
38+
- name: Update version number
39+
run: |
40+
VERSION=${GITHUB_REF//*\/}
41+
echo "export default { version: '$VERSION' };" > src/versionInfo.ts
3742
3843
# Setup gcloud CLI
3944
- name: Setup CLI

0 commit comments

Comments
 (0)