Skip to content

Commit dd2a2ff

Browse files
committed
Init project
1 parent 10d8292 commit dd2a2ff

File tree

142 files changed

+122723
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+122723
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 'NuGet Pack'
2+
description: 'Packs RocketModFix NuGet packages'
3+
inputs:
4+
nuspec_path:
5+
description: 'Path to .nuspec'
6+
required: true
7+
nuget_push:
8+
description: 'Push to Nuget?'
9+
required: false
10+
default: false
11+
nuget_key:
12+
description: 'NuGet deploy key'
13+
required: false
14+
runs:
15+
using: "composite"
16+
steps:
17+
- name: Pack
18+
run: nuget pack ${{ inputs.nuspec_path }}
19+
shell: bash
20+
- name: Push to NuGet (Release)
21+
run: if ${{ inputs.nuget_push == 'true' }}; then
22+
dotnet nuget push *.nupkg --skip-duplicate --api-key ${{ inputs.nuget_key }} --source https://api.nuget.org/v3/index.json;
23+
fi
24+
shell: bash
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: RocketModFix.UnityEngine.Redist
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths:
7+
- 'redist/**'
8+
9+
jobs:
10+
build:
11+
name: "RocketModFix.UnityEngine.Redist Pack"
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-dotnet@v3
16+
name: Setup .NET
17+
with:
18+
dotnet-version: 7.x
19+
- uses: nuget/setup-nuget@v1
20+
name: Setup NuGet
21+
with:
22+
nuget-api-key: ${{ secrets.NUGET_DEPLOY_KEY }}
23+
nuget-version: '5.x'
24+
- uses: ./.github/actions/nuget-pack
25+
id: nuget-pack
26+
with:
27+
nuspec_path: unityengine/redist/RocketModFix.UnityEngine.Redist.nuspec
28+
nuget_key: ${{ secrets.NUGET_DEPLOY_KEY }}
29+
nuget_push: true

redist/LICENSE.txt

Lines changed: 169 additions & 0 deletions
Large diffs are not rendered by default.

redist/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# RocketModFix UnityEngine Redistributables
2+
This package contains the UnityEngine assemblies required for RocketModFix, it's plugins, and not only.
3+
4+
To update, simply drop the UnityEngine dlls into this folder and update the version in the nuspec. It will be automatically pushed to NuGet when merged to main.
5+
6+
**All dll files must be signed by Unity or Smartly Dressed Games.**
7+
8+
# License
9+
See LICENSE file.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata>
4+
<id>RocketModFix.UnityEngine.Redist</id>
5+
<version>2021.3.28.1</version>
6+
<description>UnityEngine redistributables for RocketModFix and plugins</description>
7+
<authors>Unity;OpenMod</authors>
8+
<license type="file">LICENSE.txt</license>
9+
<requireLicenseAcceptance>true</requireLicenseAcceptance>
10+
</metadata>
11+
<files>
12+
<file src="*.dll" target="lib\netstandard2.0"/>
13+
<file src="*.xml" target="lib\netstandard2.0"/>
14+
<file src="*.dll" target="lib\netstandard2.1"/>
15+
<file src="*.xml" target="lib\netstandard2.1"/>
16+
<file src="*.dll" target="lib\net40"/>
17+
<file src="*.xml" target="lib\net40"/>
18+
<file src="LICENSE.txt" target=""/>
19+
</files>
20+
</package>

redist/UnityEngine.AIModule.dll

55 KB
Binary file not shown.

0 commit comments

Comments
 (0)