-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move current code into 1.5 subfolder. * Adjust 1.5 output paths. * Add 1.4 source. * Update CI/CD scripts. * Build and test on pull requests.
- Loading branch information
Showing
439 changed files
with
21,558 additions
and
101 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
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,54 +1,48 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: Generate Compatibility List | ||
|
||
env: | ||
# Change this to point to your solution, or the folder in which your solution | ||
# can be found. | ||
SLN_PATH: Source/ | ||
LATEST_RW_VERSION: 1.5 | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the master branch | ||
push: | ||
branches: [ master ] | ||
paths: | ||
- WeaponTweakData/* | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
build: | ||
if: "!contains(github.event.commits[0].message, '[AUTO CI]')" | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v4.1.4 | ||
|
||
- name: Setup Dotnet | ||
uses: actions/setup-dotnet@v3 | ||
uses: actions/setup-dotnet@v4.0.0 | ||
with: | ||
dotnet-version: 6.0.x | ||
dotnet-version: 8.0.x | ||
|
||
- name: Build Mod 1.4 | ||
run: dotnet build ${{ env.SLN_PATH }} --configuration v1.4 | ||
- name: Build Mod ${{ env.LATEST_RW_VERSION }} | ||
run: dotnet build Source/${{ env.LATEST_RW_VERSION }} --configuration Release | ||
|
||
- name: Run generator. | ||
run: .\Source\CompatibilityReportGenerator\bin\Debug\net472\CompatibilityReportGenerator.exe --directory "./WeaponTweakData" --output "./WeaponTweakData/Compatible Mods.md" | ||
- name: Run generator | ||
run: .\Source\${{ env.LATEST_RW_VERSION }}\CompatibilityReportGenerator\bin\Debug\net472\CompatibilityReportGenerator.exe --directory "./WeaponTweakData" --output "./WeaponTweakData/Compatible Mods.md" | ||
|
||
- name: Check for changes. | ||
- name: Check for changes | ||
run: git status | ||
|
||
- name: Stage changes. | ||
- name: Stage changes | ||
run: git add . | ||
|
||
- name: Commit changes. | ||
- name: Commit changes | ||
run: | | ||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git config --local user.name "github-actions[bot]" | ||
git commit -m "[AUTO CI] Update compatible mod list." -m "[skip ci]" | ||
- name: Push to ${{ github.ref }}. | ||
uses: ad-m/github-push-action@master | ||
uses: ad-m/github-push-action@v0.8.0 | ||
with: | ||
github_token: ${{ secrets.CI_TOKEN }} | ||
branch: ${{ github.ref }} |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net472</TargetFramework> | ||
<OutputType>Library</OutputType> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<NoStdLib>false</NoStdLib> | ||
<LangVersion>11</LangVersion> | ||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> | ||
<RootNamespace>AM.Retexture</RootNamespace> | ||
<Configurations>Release</Configurations> | ||
<Nullable>disable</Nullable> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
<DebugType>none</DebugType> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Krafs.Publicizer" Version="2.2.1"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<!-- Ungodly hack to access rimworld private properties & methods --> | ||
<Publicize Include="Assembly-CSharp" /> | ||
</ItemGroup> | ||
|
||
<!-- _____ 1.4 _____ --> | ||
<ItemGroup Condition="'$(Configuration)'=='Release'"> | ||
<PackageReference Include="Krafs.Rimworld.Ref" Version="1.4.3901" /> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
Oops, something went wrong.