@ -23,6 +23,10 @@ jobs:
StagingDirectory : buildartifacts
StagingDirectory : buildartifacts
BuildAndPublishVsix : true
BuildAndPublishVsix : true
defaults:
run:
shell : pwsh
steps:
steps:
- run : mkdir -p $env:StagingDirectory
- run : mkdir -p $env:StagingDirectory
@ -60,7 +64,6 @@ jobs:
- name : Get Version
- name : Get Version
id : version
id : version
shell : pwsh
run : |
run : |
.\BuildTools\ghactions-install.ps1
.\BuildTools\ghactions-install.ps1
Get-ChildItem Env : | Where-Object {$_.Name -Match "^ILSPY_"} | %{ echo "$($_.Name)=$($_.Value)" } | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
Get-ChildItem Env : | Where-Object {$_.Name -Match "^ILSPY_"} | %{ echo "$($_.Name)=$($_.Value)" } | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
@ -103,24 +106,23 @@ jobs:
folded : true
folded : true
- name : Publish x64/arm64 framework-dependent/self-contained
- name : Publish x64/arm64 framework-dependent/self-contained
shell : pwsh
run : .\publish.ps1 -Configuration ${{ matrix.configuration }}
run : .\publish.ps1 -Configuration ${{ matrix.configuration }}
- name : Zip ILSpy (framework-dependent)
- name : Zip ILSpy (framework-dependent)
run : >
run : >
7z a -tzip $env:StagingDirectory\ILSpy_binaries.zip ${{ matrix.configuration == 'release' && '-xr!*.pdb' || '' }}
7z a -tzip $env:StagingDirectory\ILSpy_binaries.zip ${{ matrix.configuration == 'release' && ''' -xr!*.pdb'' ' || '' }}
.\ILSpy\bin\${{ matrix.configuration }}\net10.0\win-x64\publish\fwdependent\*
.\ILSpy\bin\${{ matrix.configuration }}\net10.0\win-x64\publish\fwdependent\*
- name : Zip ILSpy Release (x64 self-contained)
- name : Zip ILSpy Release (x64 self-contained)
if : matrix.configuration == 'release'
if : matrix.configuration == 'release'
run : >
run : >
7z a -tzip $env:StagingDirectory\ILSpy_selfcontained_x64.zip -xr!*.pdb
7z a -tzip $env:StagingDirectory\ILSpy_selfcontained_x64.zip ' -xr!*.pdb'
.\ILSpy\bin\Release\net10.0\win-x64\publish\selfcontained\*
.\ILSpy\bin\Release\net10.0\win-x64\publish\selfcontained\*
- name : Zip ILSpy Release (arm64 framework-dependent)
- name : Zip ILSpy Release (arm64 framework-dependent)
if : matrix.configuration == 'release'
if : matrix.configuration == 'release'
run : >
run : >
7z a -tzip $env:StagingDirectory\ILSpy_binaries_arm64.zip -xr!*.pdb
7z a -tzip $env:StagingDirectory\ILSpy_binaries_arm64.zip ' -xr!*.pdb'
.\ILSpy\bin\Release\net10.0\win-arm64\publish\fwdependent\*
.\ILSpy\bin\Release\net10.0\win-arm64\publish\fwdependent\*
- name : Pack NuGets
- name : Pack NuGets
@ -145,7 +147,6 @@ jobs:
- name : Verify package contents
- name : Verify package contents
if : matrix.configuration == 'debug'
if : matrix.configuration == 'debug'
shell : pwsh
run : |
run : |
.\BuildTools\create-filelists.ps1
.\BuildTools\create-filelists.ps1
git diff --exit-code
git diff --exit-code