diff --git a/.gitea/workflows/release-mod.yml b/.gitea/workflows/release-mod.yml index 9c28606..ae9045f 100644 --- a/.gitea/workflows/release-mod.yml +++ b/.gitea/workflows/release-mod.yml @@ -48,8 +48,7 @@ jobs: name: ${{ steps.Build.outputs.filename }} path: ${{ steps.Build.outputs.artifactpath }} - - name: Use Go Action - id: use-go-action + - name: Release Mod uses: https://gitea.com/actions/release-action@main with: files: ./${{ steps.Build.outputs.filename }}.zip diff --git a/Mod/Directory.Build.props b/Mod/Directory.Build.props.d similarity index 100% rename from Mod/Directory.Build.props rename to Mod/Directory.Build.props.d diff --git a/Mod/Directory.Build.targets b/Mod/Directory.Build.targets new file mode 100644 index 0000000..2418059 --- /dev/null +++ b/Mod/Directory.Build.targets @@ -0,0 +1,101 @@ + + + + + 2.0 + + false + + $(OutputPath)$(AssemblyName) + + $(OutputPath)Final + True + + + + + + + + + + + + + + + + $(BasePluginVersion) + $(BasePluginVersion) + $(BasePluginVersion) + + + + + + + + + $(AssemblyName) + $(ArtifactName)-$(PluginVersion) + $(ArtifactName)-bs$(GameVersion) + $(ArtifactName)-$(CommitHash) + + + + + + + $(AssemblyName) + + + + + + + + + + + + + + $(AssemblyName) + $(OutDir)zip\ + + + + + + + + + + + + + $(BeatSaberDir)\Plugins + True + Unable to copy assembly to game folder, did you set 'BeatSaberDir' correctly in your 'csproj.user' file? Plugins folder doesn't exist: '$(PluginDir)'. + + Unable to copy to Plugins folder, '$(BeatSaberDir)' does not appear to be a Beat Saber game install. + + Unable to copy to Plugins folder, 'BeatSaberDir' has not been set in your 'csproj.user' file. + False + + + + + + + + $(BeatSaberDir)\IPA\Pending\Plugins + + + + + + + + \ No newline at end of file