Skip to content

Commit fae5dec

Browse files
committed
Update release.yml
1 parent d1edcac commit fae5dec

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ jobs:
2929
- name: Create archive
3030
run: |
3131
cd publish
32-
zip -r ../${{ github.event.repository.name }}-${{ github.ref_name }}.zip .
32+
zip -r ../${{ github.event.repository.name }}-${{ github.ref_name }}-win64.zip .
3333
shell: bash
3434

3535
- name: Upload artifact
3636
uses: actions/upload-artifact@v4
3737
with:
3838
name: app-archive
39-
path: ${{ github.event.repository.name }}-${{ github.ref_name }}.zip
39+
path: ${{ github.event.repository.name }}-${{ github.ref_name }}-win64.zip
4040

4141
release:
4242
needs: build
@@ -52,6 +52,6 @@ jobs:
5252
- name: Create GitHub Release
5353
uses: softprops/action-gh-release@v2
5454
with:
55-
files: ${{ github.event.repository.name }}-${{ github.ref_name }}.zip
55+
files: ${{ github.event.repository.name }}-${{ github.ref_name }}-win64.zip
5656
env:
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

BangumiNet.Api/BangumiNet.Api.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
<Nullable>enable</Nullable>
77
</PropertyGroup>
88

9+
<PropertyGroup Condition="'$(Configuration)'=='Release'">
10+
<DebugType>none</DebugType>
11+
</PropertyGroup>
12+
913
<ItemGroup>
1014
<PackageReference Include="Microsoft.Kiota.Bundle" Version="1.19.1" />
1115
</ItemGroup>

BangumiNet.Shared/BangumiNet.Shared.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@
66
<Nullable>enable</Nullable>
77
</PropertyGroup>
88

9+
<PropertyGroup Condition="'$(Configuration)'=='Release'">
10+
<DebugType>none</DebugType>
11+
</PropertyGroup>
12+
913
</Project>

0 commit comments

Comments
 (0)