File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1- name : Release
1+ name : Build
22
33on :
44 workflow_dispatch :
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
You can’t perform that action at this time.
0 commit comments