File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11name : firebase
22
33on :
4+ pull_request :
45 workflow_dispatch :
56
67jobs :
2829 with :
2930 fetch-depth : 1
3031 path : ${{ github.workspace }}/SourceCache/firebase-cpp-sdk
31- ref : refs/heads/compnerd/swift
3232 repository : thebrowsercompany/firebase-cpp-sdk
3333
3434 - uses : compnerd/gha-setup-vsdevenv@main
@@ -301,11 +301,13 @@ jobs:
301301 nuget pack -Properties BUILDROOT=${{ github.workspace }}\BuildRoot\Library\firebase -Suffix (git -C ${{ github.workspace }}/SourceCache/firebase-cpp-sdk log -1 --format=%h) firebase.nuspec
302302 shell : pwsh
303303 - uses : actions/upload-artifact@v3
304+ if : ${{ github.event_name == 'workflow_dispatch' }}
304305 with :
305306 name : windows-${{ matrix.arch }}.nupkg
306307 path : com.google.firebase.windows.${{ matrix.arch }}.*.nupkg
307308
308309 - name : Publish NuGet Packages
310+ if : ${{ github.event_name == 'workflow_dispatch' }}
309311 env :
310312 NUGET_SOURCE_NAME : TheBrowserCompany
311313 NUGET_SOURCE_URL : https://nuget.pkg.github.com/thebrowsercompany/index.json
You can’t perform that action at this time.
0 commit comments