ci: give build artifacts better names with github.sha

This commit is contained in:
Eric Wasylishen 2022-09-25 11:32:13 -06:00
parent e477962516
commit 4807744d06
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,7 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
if: ${{ runner.os == 'Windows' && matrix.use-asan == 'NO' }} if: ${{ runner.os == 'Windows' && matrix.use-asan == 'NO' }}
with: with:
name: ericw-tools-${{ github.sha }}-win64
path: | path: |
build-windows/ericw-tools-*.zip build-windows/ericw-tools-*.zip
@ -60,6 +61,7 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
if: ${{ runner.os == 'Linux' && matrix.use-asan == 'NO' }} if: ${{ runner.os == 'Linux' && matrix.use-asan == 'NO' }}
with: with:
name: ericw-tools-${{ github.sha }}-Linux
path: | path: |
build-linux/ericw-tools-*.zip build-linux/ericw-tools-*.zip
@ -67,6 +69,7 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
if: ${{ runner.os == 'macOS' && matrix.use-asan == 'NO' }} if: ${{ runner.os == 'macOS' && matrix.use-asan == 'NO' }}
with: with:
name: ericw-tools-${{ github.sha }}-macOS
path: | path: |
build-osx/ericw-tools-*.zip build-osx/ericw-tools-*.zip