Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmfinol committed Nov 4, 2024
1 parent 143927b commit 1667e6b
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -449,19 +449,16 @@ jobs:
with:
name: cgs-WebGL
path: build/WebGL
- name: Copy the WebGL Build files to the Firebase public directory
env:
UNITY_WEBGL_BUILD_PATH: ${{ format('{0}/build/WebGL/Build', github.workspace) }}
FIREBASE_PUBLIC_BUILD_PATH: ${{ format('{0}/firebase/public/Build', github.workspace) }}
run: cp -r "$UNITY_WEBGL_BUILD_PATH/." "$FIREBASE_PUBLIC_BUILD_PATH"
- name: Copy the WebGL build files to the Firebase public directory
run: cp -r build/WebGL/Build/. firebase/public/Build
- name: Firebase Deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_CARD_GAME_SIMULATOR }}
channelId: live
projectId: card-game-simulator
entryPoint: ${{ format('{0}/firebase', github.workspace) }}
entryPoint: firebase

deployToMacAppStore:
name: Deploy to the Mac App Store
Expand Down Expand Up @@ -717,7 +714,7 @@ jobs:
UwpProjectDirectory: build\WSAPlayer\WSAPlayer\Card Game Simulator
run: |
[xml]$manifest = get-content ".\$env:WsaPlayerDirectory\UnityCommon.props"
$manifest.Project.PropertyGroup.UnityWSAPlayerDir = "C:\Program Files\Unity\Hub\Editor\6000.0.23f1\Editor\Data\PlaybackEngines\MetroSupport\"
$manifest.Project.PropertyGroup.UnityWSAPlayerDir = "C:\Program Files\Unity\Hub\Editor\6000.0.23f1-x86_64\Editor\Data\PlaybackEngines\MetroSupport\"
$manifest.save(".\$env:WsaPlayerDirectory\UnityCommon.props")
echo ".\$env:WsaPlayerDirectory\UnityCommon.props"
cat ".\$env:WsaPlayerDirectory\UnityCommon.props"
Expand Down

0 comments on commit 1667e6b

Please sign in to comment.