Skip to content

Commit

Permalink
chore: disable fail-fast and better artifacts naming in action (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
BeRealQueally committed Jun 16, 2024
1 parent 6e295db commit 2cc0ba0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: Build

on:
workflow_dispatch:
Expand All @@ -13,6 +13,7 @@ jobs:
name: Build for ${{ matrix.build.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
build:
Expand All @@ -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
Expand Down

0 comments on commit 2cc0ba0

Please sign in to comment.