Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@ jobs:
- name: Apply patches
if: matrix.runtime == 'linux-s390x' || matrix.runtime == 'linux-ppc64le' || matrix.runtime == 'linux-arm' || matrix.runtime == 'linux-riscv64'
run: |
if [[ "${{ matrix.runtime }}" == "linux-riscv64" && ( "$GITHUB_REF" == refs/heads/releases/* || "$GITHUB_BASE_REF" == releases/* ) ]]; then
git apply patches/runner-sdk8-riscv64.patch
# Release branches carry upstream release source, which only the
# release patches (runner-sdk8-*) apply to.
if [[ "$GITHUB_REF" == refs/heads/releases/* || "$GITHUB_BASE_REF" == releases/* ]]; then
git apply patches/runner-sdk8-${{ matrix.patch_tag || 'riscv64' }}.patch
else
git apply patches/runner-main-sdk8-${{ matrix.patch_tag || 'riscv64' }}.patch
fi
Expand Down
Loading