Skip to content

Commit

Permalink
Added openupm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
crashkonijn authored Oct 2, 2024
1 parent 8baffa2 commit 1d70164
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
run: |
echo "Adding required Unity dependencies to manifest.json..."
# Add multiple dependencies using sed
sed -i '/"dependencies": {/a\ "com.boundfoxstudios.fluentassertions": "https://github.com/BoundfoxStudios/fluentassertions-unity.git#upm",' Package/package.json
sed -i '/"dependencies": {/a\ "net.tnrd.nsubstitute": "https://github.com/Thundernerd/Unity3D-NSubstitute.git",' Package/package.json
sed -i '/"dependencies": {/a\ "com.boundfoxstudios.fluentassertions": "6.6.0",' Package/package.json
sed -i '/"dependencies": {/a\ "net.tnrd.nsubstitute": "4.4.0",' Package/package.json
# Step to log the contents of the modified manifest.json
- name: Log modified manifest.json
Expand All @@ -69,6 +69,8 @@ jobs:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
scopedRegistryUrl: https://package.openupm.com
registryScopes: 'com.boundfoxstudios.fluentassertions, net.tnrd.nsubstitute'
packageMode: true
projectPath: ${{ matrix.projectPath }}
testMode: ${{ matrix.testMode }}
Expand Down

0 comments on commit 1d70164

Please sign in to comment.