|
20 | 20 | Configuration: [ Debug, Release ] |
21 | 21 | env: |
22 | 22 | BuildPlatform: Any CPU |
23 | | - StagingDirectory: buildartifacts |
| 23 | + StagingDirectory: buildartifacts |
| 24 | + BuildAndPublishVsix: false # temp disable due to usage of transport feed for net11 |
24 | 25 |
|
25 | 26 | steps: |
26 | 27 | - run: mkdir -p $env:StagingDirectory |
@@ -122,22 +123,22 @@ jobs: |
122 | 123 | dotnet msbuild ILSpy.Installer.sln /p:Configuration="Release" /p:Platform="Any CPU" /p:PlatformForInstaller="ARM64" |
123 | 124 |
|
124 | 125 | - name: Build VS Extensions (for 2017-2019 and 2022) |
125 | | - if: matrix.configuration == 'release' |
| 126 | + if: matrix.configuration == 'release' && env.BuildAndPublishVsix == 'true' |
126 | 127 | run: | |
127 | 128 | dotnet msbuild ILSpy.VSExtensions.sln /t:Restore /p:Configuration="Release" /p:Platform="Any CPU" |
128 | 129 | dotnet msbuild ILSpy.VSExtensions.sln /p:Configuration="Release" /p:Platform="Any CPU" |
129 | 130 |
|
130 | 131 | # https://github.com/actions/upload-artifact |
131 | 132 | - name: Upload VSIX (VS 2019) release build artifacts |
132 | | - if: matrix.configuration == 'release' |
| 133 | + if: matrix.configuration == 'release' && env.BuildAndPublishVsix == 'true' |
133 | 134 | uses: actions/upload-artifact@v7 |
134 | 135 | with: |
135 | 136 | name: ILSpy VS Addin for VS 2017-2019 ${{ steps.version.outputs.ILSPY_VERSION_NUMBER }} (${{ matrix.configuration }}) |
136 | 137 | path: ILSpy.AddIn\bin\${{ matrix.configuration }}\net472\*.vsix |
137 | 138 | if-no-files-found: error |
138 | 139 |
|
139 | 140 | - name: Upload VSIX (VS 2022) release build artifacts |
140 | | - if: matrix.configuration == 'release' |
| 141 | + if: matrix.configuration == 'release' && env.BuildAndPublishVsix == 'true' |
141 | 142 | uses: actions/upload-artifact@v7 |
142 | 143 | with: |
143 | 144 | name: ILSpy VS Addin for VS 2022 ${{ steps.version.outputs.ILSPY_VERSION_NUMBER }} (${{ matrix.configuration }}) |
|
0 commit comments