Add script for automatic updates

This change adds a script to automate the updating of the repository to
a new Linux kernel release.
This commit is contained in:
Fabian Mastenbroek 2020-09-16 22:24:33 +02:00
parent bc5cd8b02a
commit c5d857229c
No known key found for this signature in database
GPG key ID: 405FC6F81F0A7B85
4 changed files with 165 additions and 2 deletions

View file

@ -6,6 +6,7 @@ on:
jobs:
build:
name: Build
runs-on: [self-hosted, build]
strategy:
matrix:
@ -43,6 +44,7 @@ jobs:
name: debs-${{ matrix.build_type }}
path: "*.deb"
publish:
name: Publish
runs-on: [self-hosted]
needs: build
steps:
@ -68,7 +70,7 @@ jobs:
- name: Create Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: pve-edge-kernel ${{ steps.format_release.outputs.release }}
body: ${{ steps.format_release.outputs.changelog }}