diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..57ef037 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,40 @@ +name: Build + +env: + SLN_PATH: Source/HydroponicsExpanded/ + +on: + workflow_dispatch: + push: + paths-ignore: + - 'README.md' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: Setup Dotnet + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 8.0.x + + - name: Install Mod Dependencies + run: dotnet restore ${{ env.SLN_PATH }} + + - name: Build Mod + run: dotnet build ${{ env.SLN_PATH }} --configuration Release --no-restore + + - name: Move files + run: | + mkdir -p output/HydroponicsExpanded + mv About/ Assemblies/ Defs/ Languages/ Textures/ output/HydroponicsExpanded + + - name: Upload Mod Artifacts + uses: actions/upload-artifact@v2 + with: + name: HydroponicsExpanded + path: output/ \ No newline at end of file diff --git a/.gitignore b/.gitignore index e6f6d1e..99cfade 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .idea -/Assemblies/*.dll -/Assemblies/*.pdb \ No newline at end of file +Assemblies/*.dll +Assemblies/*.pdb +build/ \ No newline at end of file diff --git a/About/About.xml b/About/About.xml index cb187ed..645cdbe 100644 --- a/About/About.xml +++ b/About/About.xml @@ -5,8 +5,8 @@ Xevion Provides simple but powerful hydroponics that store plants underground at the cost of expensive components, lots of power, and research. -
  • 1.4
  • +
  • 1.5
  • - 0.1 + 0.1.1 https://github.com/Xevion/RimWorld-Hydroponics-Expanded \ No newline at end of file diff --git a/Source/HydroponicsExpanded/HydroponicsExpanded.csproj b/Source/HydroponicsExpanded/HydroponicsExpanded.csproj index 8acc2fd..f53b964 100644 --- a/Source/HydroponicsExpanded/HydroponicsExpanded.csproj +++ b/Source/HydroponicsExpanded/HydroponicsExpanded.csproj @@ -1,6 +1,6 @@  - - + + Debug AnyCPU @@ -9,8 +9,9 @@ Properties HydroponicsExpanded HydroponicsExpanded - v4.0 + net472 512 + false AnyCPU @@ -31,7 +32,7 @@ prompt 4 - + - + - + + + +