Skip to content

Commit

Permalink
Ensure ts is built
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamMorrow committed Sep 10, 2024
1 parent 4657243 commit 4181379
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/android-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ios-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/web-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4181379

Please sign in to comment.