forked from dfgHiatus/EyeTrackVR-Neos
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated project to utilise CI (from ProjectBabble mod)
- Loading branch information
1 parent
7b78d11
commit e1c4c71
Showing
5 changed files
with
75 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Autobuild | ||
on: [push, pull_request] | ||
|
||
env: | ||
NeosPath: "${{ github.workspace }}/neos_install/" | ||
permissions: | ||
contents: write | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout NML | ||
uses: actions/checkout@v3 | ||
- name: setup build environment | ||
uses: neos-modding-group/neos-plugin-setup-action@master | ||
- name: get NeosModLoader.dll | ||
uses: dsaltares/[email protected] | ||
with: | ||
repo: neos-modding-group/NeosModLoader | ||
file: NeosModLoader.dll | ||
- name: lint | ||
run: dotnet format --verbosity detailed --verify-no-changes ./EyeTrackVR-Neos.csproj | ||
- name: build | ||
run: dotnet build ./EyeTrackVR-Neos.csproj --configuration Release "-property:CopyToMods=false" | ||
- name: upload workflow artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: EyeTrackVR-Neos | ||
path: | | ||
./EyeTrackVR-Neos/bin/Release/net462/Rug.Osc.dll | ||
./EyeTrackVR-Neos/bin/Release/net462/EyeTrackVR-Neos.dll | ||
if-no-files-found: error | ||
retention-days: 5 | ||
- name: upload release artifacts | ||
if: startsWith(github.ref, 'refs/tags/') # only publish release artifacts for pushes to tags | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
draft: true # if creating a new release, make it a draft | ||
files: | | ||
./EyeTrackVR-Neos/bin/Release/net462/EyeTrackVR-Neos.dll | ||
./EyeTrackVR-Neos/bin/Release/net462/Rug.Osc.dll | ||
fail_on_unmatched_files: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,4 @@ | |
<HintPath>$(NeosPath)Rug.Osc.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<OutputType>exe</OutputType> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<ItemGroup> | ||
<Reference Include="Unity.InputSystem"> | ||
<HintPath>$(GameRefsPath)Unity.InputSystem.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Rug.Osc, Version=1.2.5.17694, Culture=neutral, processorArchitecture=MSIL"> | ||
<HintPath>$(NeosPath)Rug.Osc.dll</HintPath> | ||
</Reference> | ||
<PackageReference Include="Rug.Osc" Version="1.2.5" /> | ||
</ItemGroup> | ||
</Project> | ||
</Project> |