Skip to content

Commit

Permalink
Fix missing build from workflows; Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
notfood committed Dec 2, 2023
1 parent 7fc2c6f commit be8181c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
dotnet-version: 7.0.x

- name: Run workshop bundler
run: ./workshop_bundler.sh
run: ./release_bundler.sh

- uses: "marvinpinto/action-automatic-releases@latest"
with:
Expand All @@ -31,4 +31,4 @@ jobs:
automatic_release_tag: "latest"
title: "Multiplayer Compatibility"
files: |
Multiplayer-Compatibility.zip
Multiplayer-Compatibility.zip
8 changes: 5 additions & 3 deletions workshop_bundler.sh → release_bundler.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
#!/bin/bash

cd Source
dotnet build --configuration Release
dotnet build -c Release
cd ../Source_Referenced
dotnet build -c Release
cd ..

rm -rf Multiplayer-Compatibility/
mkdir -p Multiplayer-Compatibility

cp -r About Assemblies Referenced 1.3 Multiplayer-Compatibility
cp -r About Assemblies Referenced Multiplayer-Compatibility

# Zip for Github releases
rm -f Multiplayer-Compatibility.zip
zip -r -q Multiplayer-Compatibility.zip Multiplayer-Compatibility

echo "Ok, $PWD/Multiplayer-Compatibility.zip ready for uploading to Workshop"
echo "Ok, $PWD/Multiplayer-Compatibility.zip ready"

0 comments on commit be8181c

Please sign in to comment.