Skip to content

Update release-linux.yml #18

Update release-linux.yml

Update release-linux.yml #18

name: release-firmware

Check failure on line 1 in .github/workflows/release-firmware.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-firmware.yml

Invalid workflow file

(Line: 10, Col: 13): Unexpected value 'string', (Line: 11, Col: 16): Unexpected value 'opencca/main'
permissions:
contents: write
on:
workflow_dispatch:
inputs:
branch:
type: string
default: opencca/main
branch-tfa:
type: string
default: ""
branch-rmm:
type: string
default: ""
branch-uboot:
type: string
default: ""
debug:
type: bool
default: true
log-level:
default: 50
type: integer
concurrency:
group: ${{ github.workflow }}-${{ inputs.branch }}
cancel-in-progress: true
env:
CI_REPO: https://github.com/opencca/ci-scripts
CI_RUN_SCRIPT: run-ci.sh
CI_BUILD_SCRIPT: release-firmware.sh
jobs:
build-and-push:
runs-on: self-hosted
steps:
- name: Run build script
env:
BRANCH_NAME: ${{ inputs.branch }}
BRANCH_TFA: ${{ inputs.branch-tfa }}
BRANCH_RMM: ${{ inputs.branch-rmm }}
BRANCH_UBOOT: ${{ inputs.branch-uboot }}
DEBUG_FLAG: ${{ inputs.debug }}
LOG_LEVEL: ${{ inputs.log-level }}
run: |
rm -rf .ci || true
git clone --depth 1 "$CI_REPO" .ci
cd .ci
./"$CI_RUN_SCRIPT" "$GITHUB_WORKSPACE" ./"$CI_BUILD_SCRIPT"