From 5c2959a9bf2c5183f55850f29469bdc18643d416 Mon Sep 17 00:00:00 2001 From: ColorfulRhino <131405023+ColorfulRhino@users.noreply.github.com> Date: Tue, 20 Aug 2024 22:10:24 +0200 Subject: [PATCH] actions: Format workflow with YAML formatter and fix spelling --- .github/workflows/compile.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/compile.yaml b/.github/workflows/compile.yaml index a0804299f9803..83327752aa7dd 100644 --- a/.github/workflows/compile.yaml +++ b/.github/workflows/compile.yaml @@ -1,4 +1,4 @@ -name: Build Kernels at PR +name: Build kernel on PR on: workflow_dispatch: @@ -6,32 +6,30 @@ on: types: [opened, synchronize] jobs: - Build: - name: Compile kernel + name: Compile and upload kernel runs-on: rockchip if: ${{ github.repository_owner == 'armbian' }} env: OCI_TARGET_BASE: "ghcr.io/${{ github.repository }}/" # This is picked up by the Docker launcher automatically steps: - # Login to ghcr.io, for later uploading rootfs to ghcr.io - name: Docker Login to GitHub Container Registry uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} # GitHub username or org - password: ${{ secrets.GITHUB_TOKEN }} # GitHub actions builtin token. repo has to have pkg access. + password: ${{ secrets.GITHUB_TOKEN }} # GitHub actions builtin token. repo has to have pkg access. - name: Checkout build repo uses: actions/checkout@v3 with: repository: armbian/build - ref: main + ref: main fetch-depth: 1 clean: false - - name: Build Kernel at ${{ github.event.pull_request.head.sha }} + - name: Build kernel at ${{ github.event.pull_request.head.sha }} id: kernel run: | @@ -48,7 +46,7 @@ jobs: BRANCH=vendor \ ENABLE_EXTENSIONS="pull-request" - - name: Upload Artifact + - name: Upload artifact uses: actions/upload-artifact@v3 with: name: linux-rockchip-vendor