mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-23 01:28:48 +00:00
[github actions] Use local build artifacts instead of package
This commit is contained in:
parent
aa30abea93
commit
4d94eabacc
19
.github/workflows/unity.yml
vendored
19
.github/workflows/unity.yml
vendored
@ -19,6 +19,25 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v2
|
||||
with:
|
||||
dotnet-version: 6.0.x
|
||||
|
||||
- name: Add GitHub NuGet source
|
||||
run: dotnet nuget add source --username oliverbooth --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/oliverbooth/index.json"
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
|
||||
- name: Build
|
||||
run: dotnet build -c Release
|
||||
|
||||
- name: Copy artifacts to project
|
||||
run: |
|
||||
cp -r ./X10D/bin/Release/netstandard2.1/X10D.dll ./X10D.Unity.Tests/Assets/Libraries/X10D.dll
|
||||
cp -r ./X10D.Unity/bin/Release/netstandard2.1/X10D.Unity.dll ./X10D.Unity.Tests/Assets/Libraries/X10D.Unity.dll
|
||||
|
||||
- name: Unity - Test runner
|
||||
uses: game-ci/unity-test-runner@v2.0.2
|
||||
env:
|
||||
|
@ -10,7 +10,6 @@
|
||||
"com.unity.timeline": "1.6.4",
|
||||
"com.unity.ugui": "1.0.0",
|
||||
"com.unity.visualscripting": "1.7.7",
|
||||
"me.olivr.x10d": "https://github.com/oliverbooth/X10D.git#upm",
|
||||
"com.unity.modules.ai": "1.0.0",
|
||||
"com.unity.modules.androidjni": "1.0.0",
|
||||
"com.unity.modules.animation": "1.0.0",
|
||||
|
@ -146,13 +146,6 @@
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"me.olivr.x10d": {
|
||||
"version": "https://github.com/oliverbooth/X10D.git#upm",
|
||||
"depth": 0,
|
||||
"source": "git",
|
||||
"dependencies": {},
|
||||
"hash": "7ee14cebfd7415c8c161b03d592956151552d6b5"
|
||||
},
|
||||
"com.unity.modules.ai": {
|
||||
"version": "1.0.0",
|
||||
"depth": 0,
|
||||
|
Loading…
Reference in New Issue
Block a user