Skip to content

Commit

Permalink
ci: fix the error of upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Rory-Z committed Dec 2, 2021
1 parent bec9372 commit eaa8542
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ jobs:
matrix:
otp:
- "24.1.1-emqx-1"
quic_support: [true, false]
quic_support:
- true
- false
os:
- ubuntu20.04
- ubuntu18.04
Expand All @@ -71,7 +73,7 @@ jobs:
run: cat rebar3.crashdump
- run: ./_build/emqtt_bench/rel/emqtt_bench/bin/emqtt_bench
- uses: actions/upload-artifact@v2
if: startsWith(github.ref, 'refs/tags/') && matrix.quic_support == 'true'
if: startsWith(github.ref, 'refs/tags/') && matrix.quic_support
with:
name: packages
path: ./*.tar.gz
Expand Down

0 comments on commit eaa8542

Please sign in to comment.