Skip to content

Commit

Permalink
only upload on main or dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed May 26, 2024
1 parent ff67196 commit 9703d94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: build_test

on:
workflow_dispatch:
push:
branches:
- main
Expand Down Expand Up @@ -104,4 +105,5 @@ jobs:
conan test $test_conanfile ${{ matrix.package.package_version }} --build missing
- name: conan upload
if: github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch'
run: conan upload "*" --check --confirm --remote odr

0 comments on commit 9703d94

Please sign in to comment.