mirror of
https://github.com/armbian/sdk.git
synced 2026-01-06 11:08:52 -08:00
Compare commits
6 Commits
25.5.2
...
1808546943
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b5f5e8c865 | ||
|
|
03d0d16197 | ||
|
|
7eaa2eba3d | ||
|
|
12c44c5d71 | ||
|
|
5f3f5fd7f3 | ||
|
|
1101a2b0b3 |
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
10
.github/workflows/action.yml
vendored
10
.github/workflows/action.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
actions: write
|
||||
steps:
|
||||
# checkout this repository
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
# prevent GitHub from suspending cronjob
|
||||
- uses: liskin/gh-workflow-keepalive@v1
|
||||
|
||||
@@ -24,15 +24,15 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
board: [uefi-x86]
|
||||
os: ["noble"]
|
||||
board: ["uefi-x86","uefi-arm64"]
|
||||
os: ["noble","trixie"]
|
||||
extension: [",image-output-qcow2",""]
|
||||
|
||||
name: "${{ matrix.os }},${{ matrix.board }}${{ matrix.extension }}"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- uses: armbian/build@v23.11.2
|
||||
- uses: armbian/build@main
|
||||
with:
|
||||
# mandatory
|
||||
armbian_token: "${{ secrets.GITHUB_TOKEN }}" # GitHub installation access token
|
||||
@@ -40,8 +40,10 @@ jobs:
|
||||
armbian_release: "${{ matrix.os }}" # userspace: jammy, bookworm, trixie, etc.
|
||||
armbian_board: "${{ matrix.board }}" # board build target
|
||||
# optional
|
||||
armbian_ui: "minimal"
|
||||
armbian_extensions: "docker-ce,sdk${{ matrix.extension }}" # enable extensions
|
||||
armbian_release_tittle: "Armbian SDK" # release tittle
|
||||
armbian_release_tag: "${{ github.run_id }}"
|
||||
armbian_release_body: "Virtual images for x86 and arm64" # release body
|
||||
armbian_pgp_key: "${{ secrets.GPG_KEY1 }}" # key for signing
|
||||
armbian_pgp_password: "${{ secrets.GPG_PASSPHRASE1 }}" # password for key
|
||||
|
||||
33
.github/workflows/delete-old-releases.yml
vendored
Normal file
33
.github/workflows/delete-old-releases.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Delete Old Releases
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 3 * * *' # Daily at 03:00 UTC
|
||||
workflow_dispatch: # Manual trigger
|
||||
|
||||
jobs:
|
||||
clean_releases:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Delete old releases
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
# Get all releases (handle pagination)
|
||||
releases=$(gh api --paginate repos/${{ github.repository }}/releases)
|
||||
|
||||
# Process full releases
|
||||
full_releases=$(echo "$releases" | jq -c '[.[] | select(.prerelease == false)] | sort_by(.created_at) | reverse')
|
||||
full_to_delete=$(echo "$full_releases" | jq '.[3:] | .[].id')
|
||||
for id in $full_to_delete; do
|
||||
echo "Deleting old full release ID: $id"
|
||||
gh api --method DELETE repos/${{ github.repository }}/releases/$id
|
||||
done
|
||||
|
||||
# Process pre-releases
|
||||
pre_releases=$(echo "$releases" | jq -c '[.[] | select(.prerelease == true)] | sort_by(.created_at) | reverse')
|
||||
pre_to_delete=$(echo "$pre_releases" | jq '.[3:] | .[].id')
|
||||
for id in $pre_to_delete; do
|
||||
echo "Deleting old pre-release ID: $id"
|
||||
gh api --method DELETE repos/${{ github.repository }}/releases/$id
|
||||
done
|
||||
14
README.md
14
README.md
@@ -1,13 +1,7 @@
|
||||
<p align="center">
|
||||
<a href="#build-framework">
|
||||
<img src="https://raw.githubusercontent.com/armbian/build/master/.github/armbian-logo.png" alt="Armbian logo" width="144">
|
||||
</a>
|
||||
<br>
|
||||
<strong>Armbian SDK</strong><br>
|
||||
<br>
|
||||
<a href=https://github.com/armbian/sdk/releases/latest><img alt="GitHub Workflow Status" src="https://img.shields.io/github/v/release/armbian/sdk?label=Download&style=for-the-badge&logoColor=black"></a>
|
||||
</p>
|
||||
|
||||
<h2 align="center">
|
||||
<a href=#><img src="https://raw.githubusercontent.com/armbian/.github/master/profile/logosmall.png" alt="Armbian logo"></a>
|
||||
<br><br>
|
||||
</h2>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user