diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3e43440..42d6615 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -30,11 +30,7 @@ jobs:
with:
dotnet-version: 7.0.x
- name: Build project
- run: dotnet build ${{ env.PROJECT_PATH }} -o ${{ env.BUILD_OUTPUT }} --configuration Release
- - name: Copy Assets
- run: |
- mkdir --parents "${{ env.MOD_OUTPUT }}"
- cp "${{ env.BUILD_OUTPUT }}/${{ env.PROJECT_NAME }}.dll" "${{ env.MOD_OUTPUT }}"
+ run: dotnet build ${{ env.PROJECT_PATH }} -o ${{ env.MOD_OUTPUT }} --configuration Release
- uses: vimtor/action-zip@v1
with:
files: ${{ env.ARTIFACT_OUTPUT }}
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b5d30d9..e7379dd 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -33,7 +33,6 @@ jobs:
ASSET_NAME: jcdcdev.Eco.Signs-${{ needs.determine-version.outputs.semVer }}
PROJECT_NAME: jcdcdev.Eco.Signs
PROJECT_PATH: ./src/jcdcdev.Eco.Signs.csproj
- BUILD_OUTPUT: ./build-output
MOD_OUTPUT: ./build-assets/Mods/jcdcdev.Eco.Signs
ARTIFACT_OUTPUT: ./build-assets
outputs:
@@ -52,11 +51,7 @@ jobs:
with:
dotnet-version: 7.0.x
- name: Build project
- run: dotnet build ${{ env.PROJECT_PATH }} -o ${{ env.BUILD_OUTPUT }} --configuration Release -p:Version=${{ env.SEMVER }}
- - name: Copy Assets
- run: |
- mkdir --parents "${{ env.MOD_OUTPUT }}"
- cp "${{ env.BUILD_OUTPUT }}/${{ env.PROJECT_NAME }}.dll" "${{ env.MOD_OUTPUT }}"
+ run: dotnet build ${{ env.PROJECT_PATH }} -o ${{ env.MOD_OUTPUT }} --configuration Release -p:Version=${{ env.SEMVER }}
- uses: vimtor/action-zip@v1
with:
files: ${{ env.ARTIFACT_OUTPUT }}
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index a2ce6db..429acea 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -7,7 +7,7 @@
-
+
diff --git a/src/jcdcdev.Eco.Signs.csproj b/src/jcdcdev.Eco.Signs.csproj
index bce4eb9..f1db6a6 100644
--- a/src/jcdcdev.Eco.Signs.csproj
+++ b/src/jcdcdev.Eco.Signs.csproj
@@ -21,6 +21,7 @@
lib\Over9000SignPowerMod.dll
+ False