diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b77ef26..7e8409f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -121,12 +121,20 @@ jobs:
refcontent='\\home\\runner\\Jotunn.dll'
sed -i '//i\'"$refcontent" ${{env.name}}/${{env.name}}.csproj
- - name: Install dependencies and Build
+ - name: Install dependencies
run: |
mkdir packages
dotnet restore
nuget restore -PackagesDirectory packages ${{env.name}}/packages.config
- #dotnet tool restore
+ dotnet tool restore
+ # uncomment below and remove "Manually publicize" step once this is resolved: https://github.com/BepInEx/BepInEx.AssemblyPublicizer/issues/11
+ #dotnet build --configuration Release --no-restore
+
+ - name: Manually publicize and build
+ run: |
+ # as described above in "Install dependencies": remove entire step once that issue is resolved
+ dotnet tool install -g BepInEx.AssemblyPublicizer.Cli
+ assembly-publicizer ./home/runner/.local/share/Steam/steamapps/common/Valheim/valheim_Data/Managed/assembly_valheim.dll
dotnet build --configuration Release --no-restore
- name: Package