diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 08346c5a..f9d3d39b 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,8 +1,8 @@ -### 问题描述(必要) -### 版本号(必要) -### 操作系统(必要) -### 相关截图 -### 相关日志 \ No newline at end of file +### Description(required) +### App Version(required) +### OS Version(required) +### Snapshots +### Log \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3f4d76f0..b6660751 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,8 +12,7 @@ jobs: upload_url: ${{ steps.get-release.outputs.upload_url }} steps: - - uses: actions/checkout@v3 - - uses: thebritican/fetch-latest-release@v2.0.0 + - uses: monkeyWie/get-latest-release@v1 id: get-release build-windows: runs-on: windows-latest @@ -43,7 +42,7 @@ jobs: cp $system\vcruntime140_1.dll $release New-Item -Path build\windows\Output -ItemType Directory - Compress-Archive -Path "$release*" -DestinationPath build\windows\Output\Gopeed-$env:VERSION-windows-amd64.zip + Compress-Archive -Path "$release*" -DestinationPath build\windows\Output\Gopeed-$env:VERSION-windows-amd64-portable.zip cd build/windows echo @" @@ -96,7 +95,9 @@ jobs: Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent "@ > setup.iss iscc.exe setup.iss - mv "Output\gopeed.exe" "Output\Gopeed-$env:VERSION-windows-amd64-install.exe" + mv "Output\gopeed.exe" "Output\Gopeed-$env:VERSION-windows-amd64.exe" + Compress-Archive -Path "Output\Gopeed-$env:VERSION-windows-amd64.exe" -DestinationPath build\windows\Output\Gopeed-$env:VERSION-windows-amd64.zip + Remove-Item -Path "Output\Gopeed-$env:VERSION-windows-amd64.exe" - name: Upload uses: shogo82148/actions-upload-release-asset@v1 with: