diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7690c35..0697547 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,4 +1,4 @@ -name: Release +name: Build on: workflow_dispatch: @@ -13,6 +13,7 @@ jobs: name: Build for ${{ matrix.build.name }} runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [ubuntu-latest] build: @@ -26,15 +27,21 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Setup Toolchain run: ./scripts/setup-debian.sh if: runner.os == 'Linux' + - name: Build for ${{ matrix.build.name }} run: ./scripts/build-ci.sh ${{ matrix.build.variant }} + + - name: Get short SHA + run: echo "SHA7=$(echo ${GITHUB_SHA} | cut -c1-7)" >> $GITHUB_ENV + - name: Upload ${{ matrix.build.name }} to Artifact uses: actions/upload-artifact@v4 with: - name: ${{ matrix.build.artifact }} + name: lpac-${{ env.SHA7 }}-${{ matrix.build.artifact }} path: ${{ github.workspace }}/build/*.* release: name: Release