Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Workflow file for this run

name: Release
on:
push:
tags:
- "\d+\.\d+\.\d+"

Check failure on line 6 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
name: Checkout camblet-driver
with:
submodules: recursive
- name: Install/setup prerequisites
run: sudo apt install debhelper
- name: Build camblet-driver Debian package
run: make deb
- name: Build camblet-driver RedHat package
run: make rpm
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "../camblet-driver_*.deb,rpmbuild/RPMS/noarch/camblet-driver-*.rpm"
# uses: softprops/action-gh-release@v1
# # if: startsWith(github.ref, 'refs/tags/')
# with:
# files: |
# ../camblet-driver_*.deb
# tag_name: ${{ github.ref }}
# draft: ${{ ! startsWith(github.ref, 'refs/tags/') }}
# prerelease: ${{ ! startsWith(github.ref, 'refs/tags/') }}