diff --git a/.github/workflows/android-publish.yml b/.github/workflows/android-publish.yml index 646a7006..e1db692b 100644 --- a/.github/workflows/android-publish.yml +++ b/.github/workflows/android-publish.yml @@ -48,6 +48,9 @@ jobs: - name: Build Tailwind run: npm i && npm run build working-directory: ./LiftLog.Ui + - name: Build UI # Seems that the typescript built files dont get copied to the publish folder unless we build the project first + run: dotnet build -c Release + working-directory: ./LiftLog.Ui - name: Build run: dotnet publish -p:TargetFramework=net8.0-android -f net8.0-android -c Release -p:BuildFor=android -p:AndroidKeyStore=true -p:AndroidSigningKeyStore=liftlog.keystore -p:AndroidSigningKeyAlias=liftlog -p:AndroidSigningKeyPass=env:KEYSTORE_PASS -p:AndroidSigningStorePass=env:KEYSTORE_PASS -p:UseSentryCLI=true -p:ApplicationDisplayVersion=${{ github.event.release.name }} -p:ApplicationVersion=${{ steps.buildNumber.outputs.build-number }} working-directory: ./LiftLog.Maui diff --git a/.github/workflows/ios-publish.yml b/.github/workflows/ios-publish.yml index 4e061061..7594e0ee 100644 --- a/.github/workflows/ios-publish.yml +++ b/.github/workflows/ios-publish.yml @@ -52,6 +52,9 @@ jobs: - name: Build Tailwind run: npm i && npm run build working-directory: ./LiftLog.Ui + - name: Build UI # Seems that the typescript built files dont get copied to the publish folder unless we build the project first + run: dotnet build -c Release + working-directory: ./LiftLog.Ui - name: Build run: 'dotnet publish -c Release -f:net8.0-ios -p:ArchiveOnBuild=true -p:RuntimeIdentifier=ios-arm64 -p:CodesignKey="${{ secrets.APPLE_CODESIGN_KEY_NAME }}" -p:CodesignProvision="LiftLog" -p:UseSentryCLI=true -p:ApplicationDisplayVersion=${{ github.event.release.name }} -p:ApplicationVersion=${{ steps.buildNumber.outputs.build-number }}' working-directory: ./LiftLog.Maui diff --git a/.github/workflows/web-publish.yml b/.github/workflows/web-publish.yml index 7fbe34d7..c0f7e68d 100644 --- a/.github/workflows/web-publish.yml +++ b/.github/workflows/web-publish.yml @@ -31,6 +31,9 @@ jobs: - name: Build Tailwind run: npm i && npm run build working-directory: ./LiftLog.Ui + - name: Build UI # Seems that the typescript built files dont get copied to the publish folder unless we build the project first + run: dotnet build -c Release + working-directory: ./LiftLog.Ui - name: Build run: dotnet publish -c Release working-directory: ./LiftLog.Web