mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* Restore permission to make script work We need to rework this, but until then things has to work. * Permission issuers * We don't try to cancel previous as it doesn't work * Update * Renaming, remove deprecated * Add comments * Prevent running scorecard on forks * Update
105 lines
2.6 KiB
YAML
105 lines
2.6 KiB
YAML
name: Build u-boot & BSP
|
|
#
|
|
# Manually generates u-boot & BSP packages
|
|
#
|
|
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
destref:
|
|
type: choice
|
|
description: Beta builds
|
|
options:
|
|
- nightly
|
|
- master
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
|
|
fake:
|
|
permissions:
|
|
contents: none
|
|
runs-on: small
|
|
name: Source changes
|
|
if: ${{ github.repository_owner == 'Armbian' }}
|
|
steps:
|
|
- run: |
|
|
echo "not empty" > changes
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
path: changes
|
|
name: changes
|
|
if-no-files-found: ignore
|
|
|
|
legacy:
|
|
permissions:
|
|
contents: none
|
|
needs: [ fake ]
|
|
uses: armbian/scripts/.github/workflows/build-u-boot-with-docker.yml@master
|
|
|
|
with:
|
|
|
|
runner: "ubuntu-latest"
|
|
include: 'grep legacy | '
|
|
exclude: ''
|
|
uploading: false
|
|
destref: ${{ github.event.inputs.destref }}
|
|
|
|
secrets:
|
|
GPG_KEY1: ${{ secrets.GPG_KEY1 }}
|
|
GPG_PASSPHRASE1: ${{ secrets.GPG_PASSPHRASE1 }}
|
|
GPG_KEY2: ${{ secrets.GPG_KEY2 }}
|
|
GPG_PASSPHRASE2: ${{ secrets.GPG_PASSPHRASE2 }}
|
|
SCRIPTS_ACCESS_TOKEN: ${{ secrets.SCRIPTS_ACCESS_TOKEN }}
|
|
SSH_KEY_TORRENTS: ${{ secrets.KEY_TORRENTS }}
|
|
KNOWN_HOSTS_UPLOAD: ${{ secrets.KNOWN_HOSTS_UPLOAD }}
|
|
|
|
current:
|
|
permissions:
|
|
contents: none
|
|
needs: [ fake ]
|
|
uses: armbian/scripts/.github/workflows/build-u-boot-with-docker.yml@master
|
|
|
|
with:
|
|
|
|
runner: "small"
|
|
include: 'grep current | '
|
|
exclude: ''
|
|
uploading: false
|
|
destref: ${{ github.event.inputs.destref }}
|
|
|
|
secrets:
|
|
GPG_KEY1: ${{ secrets.GPG_KEY1 }}
|
|
GPG_PASSPHRASE1: ${{ secrets.GPG_PASSPHRASE1 }}
|
|
GPG_KEY2: ${{ secrets.GPG_KEY2 }}
|
|
GPG_PASSPHRASE2: ${{ secrets.GPG_PASSPHRASE2 }}
|
|
SCRIPTS_ACCESS_TOKEN: ${{ secrets.SCRIPTS_ACCESS_TOKEN }}
|
|
SSH_KEY_TORRENTS: ${{ secrets.KEY_TORRENTS }}
|
|
KNOWN_HOSTS_UPLOAD: ${{ secrets.KNOWN_HOSTS_UPLOAD }}
|
|
|
|
|
|
edge:
|
|
permissions:
|
|
contents: none
|
|
needs: [ fake ]
|
|
uses: armbian/scripts/.github/workflows/build-u-boot-with-docker.yml@master
|
|
|
|
with:
|
|
|
|
runner: "small"
|
|
include: 'grep edge | '
|
|
exclude: ''
|
|
uploading: false
|
|
destref: ${{ github.event.inputs.destref }}
|
|
|
|
secrets:
|
|
GPG_KEY1: ${{ secrets.GPG_KEY1 }}
|
|
GPG_PASSPHRASE1: ${{ secrets.GPG_PASSPHRASE1 }}
|
|
GPG_KEY2: ${{ secrets.GPG_KEY2 }}
|
|
GPG_PASSPHRASE2: ${{ secrets.GPG_PASSPHRASE2 }}
|
|
SCRIPTS_ACCESS_TOKEN: ${{ secrets.SCRIPTS_ACCESS_TOKEN }}
|
|
SSH_KEY_TORRENTS: ${{ secrets.KEY_TORRENTS }}
|
|
KNOWN_HOSTS_UPLOAD: ${{ secrets.KNOWN_HOSTS_UPLOAD }}
|