Skip to content

Commit

Permalink
Initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
RadxaYuntian committed Mar 8, 2024
0 parents commit 739bd50
Show file tree
Hide file tree
Showing 6 changed files with 739 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
49 changes: 49 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Release
on:
workflow_dispatch:
push:
paths:
- 'VERSION'

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Get revision
run: |
VERSION=$(cat VERSION)
echo "revision=${VERSION#*-}" >> $GITHUB_ENV
echo "tag_name=${VERSION}" >> $GITHUB_ENV
- name: Build
uses: radxa-repo/bsp@main
with:
target: linux
edition: rk2312
revision: ${{ env.revision }}
- name: Generate environmental variables
run: |
- name: Create release
id: release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.tag_name }}
body_path: README.md
token: ${{ secrets.GITHUB_TOKEN }}
target_commitish: main
draft: false
files: |
.output/*
VERSION
pkg.conf
- name: Update Test repos
uses: radxa-repo/update-repo-action@main
with:
test-repo: true
token: ${{ secrets.RADXA_APT_TEST_REPO_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.deb
Loading

0 comments on commit 739bd50

Please sign in to comment.