mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Delete XML Docs in Build Artifact
This commit is contained in:
parent
430c3786f4
commit
4cb1bbe61e
29
.github/workflows/build.yaml
vendored
29
.github/workflows/build.yaml
vendored
@ -40,22 +40,33 @@ jobs:
|
|||||||
- uses: actions/setup-dotnet@v1
|
- uses: actions/setup-dotnet@v1
|
||||||
|
|
||||||
# Disable Strong Name Verification to let us pull a switch-a-roo
|
# Disable Strong Name Verification to let us pull a switch-a-roo
|
||||||
- run: "C:\\\"Program Files (x86)\"\\\"Microsoft SDKs\"\\Windows\\v10.0A\\bin\\\"NETFX 4.8 Tools\"\\x64\\sn.exe -Vr *"
|
- name: Disable strong name validation
|
||||||
|
run: "C:\\\"Program Files (x86)\"\\\"Microsoft SDKs\"\\Windows\\v10.0A\\bin\\\"NETFX 4.8 Tools\"\\x64\\sn.exe -Vr *"
|
||||||
- run: "rm .\\NewHorizons\\NewHorizons.csproj.user"
|
|
||||||
|
- name: Remove .csproj.user
|
||||||
|
run: "rm .\\NewHorizons\\NewHorizons.csproj.user"
|
||||||
|
|
||||||
- name: Build Project
|
- name: Build Project
|
||||||
run: dotnet build -c $Env:BUILD_TYPE
|
run: dotnet build -c $Env:BUILD_TYPE
|
||||||
|
|
||||||
- name: Upload Artifact
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: NewHorizons-${{ env.BUILD_TYPE }}
|
|
||||||
path: .\NewHorizons\bin\${{ env.BUILD_TYPE }}
|
|
||||||
|
|
||||||
- name: Generate Schemas
|
- name: Generate Schemas
|
||||||
run: .\SchemaExporter\bin\${{ env.BUILD_TYPE }}\SchemaExporter.exe
|
run: .\SchemaExporter\bin\${{ env.BUILD_TYPE }}\SchemaExporter.exe
|
||||||
|
|
||||||
|
- name: Delete XML documentation
|
||||||
|
run: rm .\NewHorizons\bin\${{ env.BUILD_TYPE }}\NewHorizons.xml
|
||||||
|
|
||||||
|
- name: Upload Mod Artifact
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: xen.NewHorizons.${{ env.BUILD_TYPE }}
|
||||||
|
path: .\NewHorizons\bin\${{ env.BUILD_TYPE }}
|
||||||
|
|
||||||
|
- name: Upload Schemas Artifact
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: NewHorizons-${{ env.BUILD_TYPE }}
|
||||||
|
path: .\NewHorizons\Schemas
|
||||||
|
|
||||||
# Only want to commit schemas if they've actually changed
|
# Only want to commit schemas if they've actually changed
|
||||||
- name: Verify Changed Schemas
|
- name: Verify Changed Schemas
|
||||||
uses: tj-actions/verify-changed-files@v9.1
|
uses: tj-actions/verify-changed-files@v9.1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user