41
Raspberry Pi Linux Kernel 6.12.y / Raspberry Pi Linux Sources (push) Failing after 1s
Raspberry Pi Linux Kernel 6.12.y / Raspberry Pi Linux Build (bookworm, bcm2711_defconfig, aarch64-linux-gnu-gcc-12, rpt, v8, cicd.bookworm) (push) Has been skipped

This commit is contained in:
Cantibra
2026-05-06 15:29:26 +02:00
parent c4938f77f8
commit b90c7f7b11
3 changed files with 200 additions and 234 deletions
-39
View File
@@ -1,39 +0,0 @@
name: Raspberry Pi Linux Kernel [Sources]
on:
workflow_call:
inputs:
BRANCH:
required: true
outputs:
VERSION:
required: true
value: ${{ jobs.sources.outputs.version }}
jobs:
sources:
name: Raspberry Pi Linux Sources
runs-on: cicd.any
outputs:
VERSION: ${{ steps.environment.outputs.version }}
steps:
- name: Linux Sources [Clone]
run: |
/usr/bin/git clone --verbose --depth='1' --branch "${{ inputs.branch }}" 'https://github.com/raspberrypi/linux'
- name: Environment
id: environment
run: |
VERSION=$(/usr/bin/make --directory='./linux' kernelversion | /usr/bin/grep --extended-regexp --only-matching '^[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}$')
/usr/bin/echo "VERSION=${VERSION}" >> "${GITHUB_OUTPUT}"
/usr/bin/echo "Set Variable 'VERSION' to '${VERSION}'"
- name: Linux Sources [Archive]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/tar --create --directory="./linux" --file="./linux-sources-${VERSION}.tar.gz" --gzip '.' --verbose
- name: Linux Sources [Artifact Upload]
uses: christopherhx/gitea-upload-artifact@v7
with:
name: linux-sources-${{ steps.environment.outputs.version }}.tar.gz
path: ./linux-sources-${{ steps.environment.outputs.version }}.tar.gz
if-no-files-found: error
overwrite: true
archive: false