forked from Scoooom/TheOtherRoles2
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
316 additions
and
242 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/cache@v2 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.nuget/packages | ||
|
@@ -20,7 +20,7 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-nuget- | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
||
|
@@ -29,41 +29,77 @@ jobs: | |
with: | ||
dotnet-version: 6.x | ||
|
||
- name: install wget | ||
run: sudo apt install wget | ||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt install wget unzip -y | ||
- 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: Download and Unzip BepInEx | ||
run: | | ||
wget https://builds.bepinex.dev/projects/bepinex_be/725/BepInEx-Unity.IL2CPP-win-x86-6.0.0-be.725%2Be1974e2.zip -O BepInEx.zip | ||
unzip BepInEx.zip -d ./Release/ | ||
sudo chmod -R 777 ./Release | ||
- name: unzip BepInEx | ||
run: unzip BepInEx-Unity.IL2CPP-win-x86-6.0.0-be.688+4901521.zip -d ./Release/ | ||
- name: Download and Unzip ExtraData | ||
run: | | ||
wget https://raw.githubusercontent.com/mxyx-club/ExtraData/main/ExtraData.zip -O ExtraData.zip | ||
unzip ExtraData.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 | ||
- name: Download Reactor | ||
run: wget https://github.com/NuclearPowered/Reactor/releases/download/2.3.1/Reactor.dll -P ./Release/BepInEx/plugins | ||
|
||
- name: Build | ||
run: dotnet build TheOtherRoles/TheOtherRoles.csproj --configuration Release --output ./Release/BepInEx/plugins | ||
|
||
- name: Cleanup | ||
run: | | ||
rm -rf ./Release/BepInEx/plugins/TheOtherUs.deps.json | ||
rm -rf ./Release/BepInEx/plugins/TheOtherUs.pdb | ||
rm -rf ./Release/changelog.txt | ||
- 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/ | ||
path: ./Release/ | ||
|
||
release: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
if: startsWith(github.ref, 'refs/tags/') | ||
|
||
steps: | ||
- name: Download Build Artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: TheOtherUs | ||
- name: Compress subdirectories | ||
run: | | ||
ls -R | ||
zip -q -r TheOtherUs.zip * | ||
mv ./BepInEx/plugins/TheOtherUs.dll ./ | ||
- name: Extract version from tag | ||
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV | ||
|
||
- name: Clone Changes Log | ||
run: | | ||
wget https://raw.githubusercontent.com/SpexGH/TheOtherUs/v${{ env.VERSION }}/CHANGELOG.md -O CHANGELOG.md | ||
- name: Create GitHub Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
name: "TheOtherUs ${{ env.VERSION }}" | ||
body_path: CHANGELOG.md | ||
files: | | ||
TheOtherUs.dll | ||
./TheOtherUs.zip | ||
draft: false | ||
prerelease: false |
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,8 @@ | ||
## Credit to [The Other Roles](https://github.com/TheOtherRolesAU/TheOtherRoles) for everything here from them and everything else. | ||
|
||
## What's New | ||
|
||
* Updated BepInEx dependency to be.725 | ||
* Updated to Among Us version 2024.10.29 | ||
* Fixed ModUpdater | ||
* Fix other errors |
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
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
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
Oops, something went wrong.