Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeroluna committed Nov 8, 2024
1 parent bf688d0 commit 7f36543
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build

on:
push:
branches: [ "master" ]
paths:
- .github/workflows/build.yml
- Vivify/**
- Vivify.sln

jobs:
build:
name: Build
strategy:
matrix:
game-version: [ 1.29.1, 1.34.2, 1.37.1, 1.38.0 ]
uses: Aeroluna/beat-saber-workflows/.github/workflows/build-version-release.yml@master
with:
project-path: Vivify/Vivify.csproj
game-version: ${{ matrix.game-version }}
additional-sources: '{"Heck": "Aeroluna/Heck", "CustomJSONData": "Aeroluna/CustomJSONData"}'
secrets: inherit

create_release:
name: Create Release
needs: build
permissions:
contents: write
uses: Aeroluna/beat-saber-workflows/.github/workflows/create-release-from-project.yml@master
with:
project-path: Vivify/Vivify.csproj
secrets: inherit
5 changes: 2 additions & 3 deletions Vivify/Vivify.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<PluginId>Vivify</PluginId>
<PluginName>Vivify</PluginName>
<Author>Aeroluna</Author>
<Version>0.1.6</Version>
<Version>0.1.7</Version>
<Description>Bring your map to life!</Description>
</PropertyGroup>
<ItemGroup>
<DependsOn Include="_Heck" Version="^1.6.4"/>
<DependsOn Include="Heck" Version="^1.6.4"/>
<DependsOn Include="BSIPA" Version="^4.2.2"/>
<DependsOn Include="CustomJSONData" Version="^2.6.3"/>
<DependsOn Include="SiraUtil" Version="^3.0.5"/>
Expand All @@ -43,7 +43,6 @@
<Reference Include="HMRendering" HintPath="$(BeatSaberDir)\Beat Saber_Data\Managed\HMRendering.dll" Publicize="true"/>
<Reference Include="IPA.Loader" HintPath="$(BeatSaberDir)\Beat Saber_Data\Managed\IPA.Loader.dll"/>
<Reference Include="Main" HintPath="$(BeatSaberDir)\Beat Saber_Data\Managed\Main.dll" Publicize="true"/>
<Reference Include="Newtonsoft.Json" HintPath="$(BeatSaberDir)\Libs\Newtonsoft.Json.dll"/>
<Reference Include="Rendering" HintPath="$(BeatSaberDir)\Beat Saber_Data\Managed\Rendering.dll" Publicize="true"/>
<Reference Include="SaberTrail" HintPath="$(BeatSaberDir)\Beat Saber_Data\Managed\SaberTrail.dll" Publicize="true"/>
<Reference Include="SiraUtil" HintPath="$(BeatSaberDir)\Plugins\SiraUtil.dll" Publicize="true"/>
Expand Down

0 comments on commit 7f36543

Please sign in to comment.