From f0ab9bb8519fc4b31fd9b6d68ce1058ae262a4eb Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Thu, 27 Oct 2022 21:48:01 +1300 Subject: 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 --- .github/workflows/build-toolchains.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/build-toolchains.yml b/.github/workflows/build-toolchains.yml index 8634f83f..09f9864d 100644 --- a/.github/workflows/build-toolchains.yml +++ b/.github/workflows/build-toolchains.yml @@ -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: -- cgit v1.2.3