Updated to Among Us version 2024.6.18 #65
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
name: AutoBuild .NET | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.nuget/packages | |
~/.cache/bepinex | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 6.x | |
- name: install wget | |
run: sudo apt install wget | |
- name: download BepInEx | |
run: wget https://builds.bepinex.dev/projects/bepinex_be/688/BepInEx-Unity.IL2CPP-win-x86-6.0.0-be.688%2B4901521.zip | |
- name: unzip BepInEx | |
run: unzip BepInEx-Unity.IL2CPP-win-x86-6.0.0-be.688+4901521.zip -d ./Release/ | |
- name: path | |
run: sudo chmod -R 777 ./Release | |
- name: download ExtraData | |
run: wget https://raw.githubusercontent.com/mxyx-club/ExtraData/main/ExtraData.zip | |
- name: unzip ExtraData | |
run: unzip ExtraData.zip -d ./Release/ | |
- name: download Reactor | |
run: wget https://github.com/NuclearPowered/Reactor/releases/download/2.2.0/Reactor.dll -P ./Release/BepInEx/plugins | |
- name: Build | |
run: dotnet build TheOtherRoles/TheOtherRoles.csproj --configuration Release --output ./Release/BepInEx/plugins | |
- name: Upload TheOtherUsDll | |
uses: actions/[email protected] | |
with: | |
name: TheOtherUs.dll | |
path: ./Release/BepInEx/plugins/TheOtherUs.dll | |
- name: Del Other Files | |
run: rm -rf ./Release/BepInEx/plugins/TheOtherUs.deps.json ./Release/BepInEx/plugins/TheOtherUs.pdb ./Release/changelog.txt | |
- name: Upload TheOtherUs | |
uses: actions/[email protected] | |
with: | |
name: TheOtherUs | |
path: ./Release/ |