Skip to content

ci: fix release workflow #3

ci: fix release workflow

ci: fix release workflow #3

Workflow file for this run

name: Build and Release DEB
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Package the driver
run: ./build-deb.sh
- name: Find DEB file
id: find_deb
run: echo "deb_file=$(find . -name '*.deb')" >> $GITHUB_ENV
- name: Release DEB file
if: success()
uses: ncipollo/release-action@v1
with:
artifacts: ${{ env.deb_file }}
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ env.deb_file }} - $(date +"%Y-%b-%d")
removeArtifacts: true
replacesArtifacts: true