Update dotnet-desktop.yml

This commit is contained in:
Sora 2023-04-16 08:28:53 +08:00 committed by GitHub
parent f4e0c05ceb
commit ab6b21a6e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 25 deletions

View File

@ -31,29 +31,4 @@ jobs:
# Build solution
- name: Build solution
run: msbuild.exe ChangeTimestamp.sln /t:Build /p:Configuration=${{ matrix.configuration }}
# Create Release
- name: Create Release
id: create_release
uses: actions/create-release@v1.9.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: AutoBuild
release_name: AutoBuild
body: ${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: true
# Upload Release Asset
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./ChangeTimestamp/bin/Release/ChangeTimestamp.exe
asset_name: ChangeTimestamp.exe
asset_content_type: application/octet-stream