22
Raspberry Pi Linux Kernel 6.12.y / sources (push) Successful in 1s
Raspberry Pi Linux Kernel 6.12.y / echo (push) Successful in 0s
Raspberry Pi Linux Kernel 6.12.y / build (push) Successful in 0s

This commit is contained in:
Cantibra
2026-05-06 10:41:31 +02:00
parent 9a45416eaf
commit 5407f320d5
+17 -17
View File
@@ -12,25 +12,25 @@ jobs:
VERSION: ${{ steps.environment.outputs.version }}
runs-on: cicd.any
steps:
- name: Linux Sources [Clone]
run: |
/usr/bin/git clone --verbose --depth='1' --branch "${{ inputs.branch }}" 'https://github.com/raspberrypi/linux'
# - name: Linux Sources [Clone]
# run: |
# /usr/bin/git clone --verbose --depth='1' --branch "${{ inputs.branch }}" 'https://github.com/raspberrypi/linux'
- name: Linux Sources [Version]
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}$')
VERSION='6.12.16'
/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: https://github.com/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
# - 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: https://github.com/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