From 6b92deb6245cec170614d7a40688c1da0492bf55 Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Wed, 11 Dec 2024 19:06:44 +0000 Subject: [PATCH] bump? --- .github/workflows/unity-test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/unity-test.yml b/.github/workflows/unity-test.yml index 568c164..6312cb9 100644 --- a/.github/workflows/unity-test.yml +++ b/.github/workflows/unity-test.yml @@ -41,6 +41,14 @@ jobs: echo "branch=$branch" >> $GITHUB_OUTPUT echo "Final branch name: $branch" + - name: Replace com.clockworklabs.spacetimedbsdk in manifest.json + run: | + # Get the branch name from the environment variable + branch_name="${{ github.head_ref }}" + # Replace any reference to com.clockworklabs.spacetimedbsdk with the correct GitHub URL using the current branch + sed -i "s|\"com.clockworklabs.spacetimedbsdk\":.*|\"com.clockworklabs.spacetimedbsdk\": \"https://github.com/clockworklabs/com.clockworklabs.spacetimedbsdk.git#$branch_name\",|" unity-tests~/client/Packages/manifest.json + cat unity-tests~/client/Packages/manifest.json + - name: Replace spacetimedb dependency in Cargo.toml run: | # Get the branch name from the environment variable