mirror of
https://github.com/BlossomiShymae/Needlework.Net.git
synced 2025-12-06 18:20:47 +01:00
Update workflows
This commit is contained in:
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -22,7 +22,10 @@ jobs:
|
||||
run: dotnet publish Needlework.Net.Desktop -c Release -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:DebugType=None -p:DebugSymbols=false -o publish -r win-x64 --self-contained=false
|
||||
- name: Version
|
||||
shell: powershell
|
||||
run: $xml = [xml](Get-Content .\Needlework.Net.Desktop\Needlework.Net.Desktop.csproj); echo ($xml.Project.PropertyGroup).AssemblyVersion >> $env.VERSION;
|
||||
run: |
|
||||
$xml = [xml](Get-Content .\Needlework.Net.Desktop\Needlework.Net.Desktop.csproj)
|
||||
"{VERSION}={($xml.Project.PropertyGroup).AssemblyVersion}" >> "$env:GITHUB_ENV"
|
||||
echo $env:VERSION
|
||||
- name: Zip
|
||||
run: 7z a -tzip NeedleworkDotNet-win-x64.zip ./Publish/* README.md LICENSE
|
||||
- name: Release
|
||||
|
||||
Reference in New Issue
Block a user