This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
fix include #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout nasp-kernel-module | |
with: | |
submodules: recursive | |
- name: Install/setup prerequisites | |
run: sudo apt install debhelper | |
- name: Build nasp-kernel-module Debian package | |
run: make deb | |
- name: Release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "../nasp-kernel-module_*.deb" | |
prerelease: true | |
# uses: softprops/action-gh-release@v1 | |
# # if: startsWith(github.ref, 'refs/tags/') | |
# with: | |
# files: | | |
# ../nasp-kernel-module_*.deb | |
# tag_name: ${{ github.ref }} | |
# draft: ${{ ! startsWith(github.ref, 'refs/tags/') }} | |
# prerelease: ${{ ! startsWith(github.ref, 'refs/tags/') }} |