diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 36744a5c6..cc4e6180b 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -69,6 +69,14 @@ jobs: NPMRC: ${{ secrets.NPMRC }} run: echo -e "$NPMRC" > .npmrc + - 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: Add Google Services file working-directory: "${{ env.ANGULAR_DIRECTORY }}/android/app" env: diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 6e06f44ef..fb554a973 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -59,6 +59,14 @@ jobs: NPMRC: ${{ secrets.NPMRC }} run: echo -e -n "$NPMRC" > .npmrc + - 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: Get XML Info id: version uses: mavrosxristoforos/get-xml-info@1.1.1