@@ -141,7 +141,8 @@ jobs:
141141 devenv /Build Release sqlitebrowser.sln /Project ALL_BUILD
142142 mv "Release\DB Browser for SQLite.exe" "Release\DB Browser for SQLCipher.exe"
143143
144- - name : Create MSI
144+ - if : github.event_name != 'pull_request'
145+ name : Create MSI
145146 env :
146147 ExePath : ${{ github.workspace }}
147148 OpenSSLPath : C:\dev\OpenSSL-${{ matrix.arch }}
@@ -159,15 +160,17 @@ jobs:
159160 mv DB.Browser.for.SQLite-*.msi "DB.Browser.for.SQLite-dev-$(git rev-parse --short HEAD)-$ARCH.msi"
160161 }
161162
162- - name : Upload artifacts for code signing with SignPath
163+ - if : github.event_name != 'pull_request'
164+ name : Upload artifacts for code signing with SignPath
163165 id : unsigned-artifacts
164166 uses : actions/upload-artifact@v4
165167 with :
166168 name : build-artifacts-${{ matrix.os}}-${{ matrix.arch }}-unsigned
167169 path : installer\windows\DB.Browser.for.SQLite-*.msi
168170
169171 # Change the signing-policy-slug when you release an RC, RTM or stable release.
170- - name : Code signing with SignPath
172+ - if : github.event_name != 'pull_request'
173+ name : Code signing with SignPath
171174172175 with :
173176 api-token : ' ${{ secrets.SIGNPATH_API_TOKEN }}'
@@ -178,7 +181,8 @@ jobs:
178181 signing-policy-slug : ' test-signing'
179182 wait-for-completion : true
180183
181- - name : Create ZIP
184+ - if : github.event_name != 'pull_request'
185+ name : Create ZIP
182186 run : |
183187 $ARCH="${{ matrix.arch }}".ToLower()
184188 $DATE=$(Get-Date -Format "yyyy-MM-dd")
@@ -195,14 +199,16 @@ jobs:
195199 }
196200 Compress-Archive -Path "target\DB Browser for SQLite\*" -DestinationPath $FILENAME_FORMAT
197201
198- - name : Prepare artifacts
202+ - if : github.event_name != 'pull_request'
203+ name : Prepare artifacts
199204 run : |
200205 mkdir build-artifacts
201206 move installer\windows\DB.Browser.for.SQLite-*.msi build-artifacts\
202207 move DB.Browser.for.SQLite-*.zip build-artifacts\
203208 Compress-Archive -Path build-artifacts\* -DestinationPath build-artifacts-${{ matrix.arch }}.zip
204209
205- - name : Upload artifacts
210+ - if : github.event_name != 'pull_request'
211+ name : Upload artifacts
206212 uses : actions/upload-artifact@v4
207213 with :
208214 name : build-artifacts-${{ matrix.os }}-${{ matrix.arch }}
0 commit comments