Skip to content

Commit

Permalink
try manual publicization of assembly to get around issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jpw1991 committed Jan 18, 2024
1 parent adc57e9 commit 771602a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,20 @@ jobs:
refcontent='<Reference Include="Jotunn"><HintPath>\\home\\runner\\Jotunn.dll</HintPath></Reference>'
sed -i '/<Reference\sInclude="UnityEngine.PhysicsModule">/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
Expand Down

0 comments on commit 771602a

Please sign in to comment.