CI: Use ${{ matrix.sample }} when uploading artifacts

Update some hard coded names to use ${{ matrix.sample }} instead. This
will allow us to upload other artifacts in the future.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
Chris Packham 2022-10-27 21:48:01 +13:00
parent 190b8392da
commit f0ab9bb851

View File

@ -101,9 +101,9 @@ jobs:
if: ${{ matrix.sample == 'x86_64-w64-mingw32' }}
uses: actions/upload-artifact@v3
with:
name: x86_64-w64-mingw32.${{ matrix.host }}.tar
name: ${{ matrix.sample }}.${{ matrix.host }}.tar
path: |
x86_64-w64-mingw32.${{ matrix.host }}.tar
${{ matrix.sample }}.${{ matrix.host }}.tar
- name: upload log
uses: actions/upload-artifact@v3
with: