Skip to content

Commit 2cc0ba0

Browse files
chore: disable fail-fast and better artifacts naming in action (#121)
1 parent 6e295db commit 2cc0ba0

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/build.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release
1+
name: Build
22

33
on:
44
workflow_dispatch:
@@ -13,6 +13,7 @@ jobs:
1313
name: Build for ${{ matrix.build.name }}
1414
runs-on: ${{ matrix.os }}
1515
strategy:
16+
fail-fast: false
1617
matrix:
1718
os: [ubuntu-latest]
1819
build:
@@ -26,15 +27,21 @@ jobs:
2627
steps:
2728
- name: Checkout
2829
uses: actions/checkout@v4
30+
2931
- name: Setup Toolchain
3032
run: ./scripts/setup-debian.sh
3133
if: runner.os == 'Linux'
34+
3235
- name: Build for ${{ matrix.build.name }}
3336
run: ./scripts/build-ci.sh ${{ matrix.build.variant }}
37+
38+
- name: Get short SHA
39+
run: echo "SHA7=$(echo ${GITHUB_SHA} | cut -c1-7)" >> $GITHUB_ENV
40+
3441
- name: Upload ${{ matrix.build.name }} to Artifact
3542
uses: actions/upload-artifact@v4
3643
with:
37-
name: ${{ matrix.build.artifact }}
44+
name: lpac-${{ env.SHA7 }}-${{ matrix.build.artifact }}
3845
path: ${{ github.workspace }}/build/*.*
3946
release:
4047
name: Release

0 commit comments

Comments
 (0)