Update .gitea/workflows/build_publish.yml

This commit is contained in:
2026-02-23 22:15:47 +01:00
Unverified
parent ed6a4a9b73
commit 1b5f8070d8

View File

@@ -55,7 +55,7 @@ jobs:
with: with:
dotnet-version: 8.0.x dotnet-version: 8.0.x
- name: Publish - name: Publish
run: dotnet publish -c Release -r win-x64 -p:Platform=x64 -p:PublishTrimmed=false -p:Version=${{needs.build_test_version.outputs.version}} VDownload\\VDownload.csproj run: dotnet publish -c Release -r win-x64 -p:Platform=x64 -p:PublishTrimmed=false -p:Version=${{needs.build_version.outputs.version}} VDownload\\VDownload.csproj
- name: Remove redundant directories - name: Remove redundant directories
run: rm -r VDownload/bin/x64/Release/net8.0-windows10.0.26100.0/win-x64/publish run: rm -r VDownload/bin/x64/Release/net8.0-windows10.0.26100.0/win-x64/publish
- name: Create .ZIP archive - name: Create .ZIP archive
@@ -63,7 +63,7 @@ jobs:
uses: ksm2/archive-action@v1 uses: ksm2/archive-action@v1
with: with:
format: "zip" format: "zip"
name: vdownload_${{needs.build_test_version.outputs.version}} name: vdownload_${{needs.build_version.outputs.version}}
root-directory: VDownload/bin/x64/Release/net8.0-windows10.0.26100.0/win-x64/ root-directory: VDownload/bin/x64/Release/net8.0-windows10.0.26100.0/win-x64/
- name: Create Release - name: Create Release
uses: akkuman/gitea-release-action@v1 uses: akkuman/gitea-release-action@v1
@@ -71,4 +71,4 @@ jobs:
tag_name: ${{needs.pack.outputs.version}} tag_name: ${{needs.pack.outputs.version}}
name: ${{needs.pack.outputs.version}} name: ${{needs.pack.outputs.version}}
files: |- files: |-
vdownload_${{needs.build_test_version.outputs.version}}.zip vdownload_${{needs.build_version.outputs.version}}.zip