Skip to content

Commit

Permalink
bump?
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser committed Dec 11, 2024
1 parent ae19b7b commit 6b92deb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/unity-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b92deb

Please sign in to comment.