Clean up
This commit is contained in:
parent
735b7b7806
commit
cb0ca09ce8
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@ -9,14 +9,9 @@ jobs:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup NuGet
|
||||
uses: nuget/setup-nuget@v1.0.2
|
||||
with:
|
||||
nuget-version: latest
|
||||
- name: Build
|
||||
id: base_init
|
||||
run: |
|
||||
nuget restore
|
||||
$(new-object System.Net.WebClient).DownloadFile("https://www.github.com/JFronny/UpTool2/releases/latest/download/Tools.zip", "$($(pwd).Path)\Tools.zip")
|
||||
& "C:\Program Files\7-Zip\7z.exe" x .\Tools.zip
|
||||
rm Tools.zip
|
||||
@ -49,7 +44,6 @@ jobs:
|
||||
asset_name: package.zip
|
||||
asset_content_type: application/zip
|
||||
- name: Generate XML
|
||||
id: make_xml
|
||||
run: |
|
||||
$file = Get-Item $(Resolve-Path *\bin\Release\netcoreapp3.1\*.exe).Path
|
||||
$asm = [Reflection.Assembly]::LoadFile($file.DirectoryName + "\" + $file.BaseName + ".dll")
|
||||
@ -66,7 +60,6 @@ jobs:
|
||||
echo NULL > app.xml
|
||||
$xml.save($(gi .\app.xml).Fullname)
|
||||
- name: Upload XML
|
||||
id: upload_xml
|
||||
uses: actions/upload-release-asset@v1.0.2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Reference in New Issue
Block a user