CI: only upload artifacts with keyring enabled

This commit is contained in:
FliegendeWurst 2021-05-13 12:11:52 +02:00
parent 218e63f7db
commit ec65c74393

View File

@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
features: ["", "--features keyring-auth"]
features: ["", "--all-features"]
steps:
- uses: actions/checkout@v2
@ -50,6 +50,7 @@ jobs:
run: cargo test --release ${{ matrix.features }} --verbose
- name: Archive artifacts
uses: actions/upload-artifact@v2
if: matrix.features == '--all-features'
with:
name: Binaries
path: |