From 9c549a5c553d19dde5e78d5949df741855039ed0 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 19 Jul 2021 02:13:57 +0100 Subject: [PATCH] Use short sha --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8adca0..0caf066 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,7 @@ jobs: make -j $(nproc) - uses: actions/upload-artifact@v2 with: - name: ${{ github.event.repository.name }}-linux-arm64-${{ github.event.pull_request.number || github.sha }} + name: ${{ github.event.repository.name }}-linux-arm64-${{ github.event.pull_request.number || github.sha::8 }} path: | bin/* @@ -63,7 +63,7 @@ jobs: make -j $(nproc) - uses: actions/upload-artifact@v2 with: - name: ${{ github.event.repository.name }}-linux-armhf-${{ github.event.pull_request.number || github.sha }} + name: ${{ github.event.repository.name }}-linux-armhf-${{ github.event.pull_request.number || github.sha::8 }} path: | bin/* @@ -83,7 +83,7 @@ jobs: make -j $(nproc) - uses: actions/upload-artifact@v2 with: - name: ${{ github.event.repository.name }}-linux-x64-${{ github.event.pull_request.number || github.sha }} + name: ${{ github.event.repository.name }}-linux-x64-${{ github.event.pull_request.number || github.sha::8 }} path: | bin/* @@ -107,7 +107,7 @@ jobs: ./dpf/utils/package-osx-bundles.sh - uses: actions/upload-artifact@v2 with: - name: ${{ github.event.repository.name }}-macOS-universal-${{ github.event.pull_request.number || github.sha }} + name: ${{ github.event.repository.name }}-macOS-universal-${{ github.event.pull_request.number || github.sha::8 }} path: | *-macOS.pkg bin/* @@ -138,7 +138,7 @@ jobs: make -j $(nproc) - uses: actions/upload-artifact@v2 with: - name: ${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || github.sha }} + name: ${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || github.sha::8 }} path: | bin/* !bin/*-ladspa.dll @@ -164,7 +164,7 @@ jobs: make -j $(nproc) - uses: actions/upload-artifact@v2 with: - name: ${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || github.sha }} + name: ${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || github.sha::8 }} path: | bin/* !bin/*-ladspa.dll