Skip to content

Commit

Permalink
Merge pull request bcgov#2100 from agordon-vivid/WFNEWS-2424
Browse files Browse the repository at this point in the history
WFNEWS-2424 - Debugging issue with build-info not being found
  • Loading branch information
agordon-vivid authored Oct 29, 2024
2 parents 1471507 + 9d046c9 commit f867fcc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/mvn-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,13 @@ jobs:
- name: Add .npmrc file
run: echo -e $NPMRC > ~/.npmrc

- name: Inject GitHub Build Number
run: echo "export const BUILD_NUMBER = '${{ github.run_number }}';" > client/src/environments/build-info.ts
- name: Inject GitHub Build Number and Display Directory
run: |
echo "Current working directory:"
pwd
echo "export const BUILD_NUMBER = '${{ github.run_number }}';" > client/wfnews-war/src/main/angular/src/environments/build-info.ts
echo "Contents: "
ls -lah
- name: Build with Maven
run: |
Expand Down

0 comments on commit f867fcc

Please sign in to comment.