Skip to content

Github Actions: Fix release workflow #5

Github Actions: Fix release workflow

Github Actions: Fix release workflow #5

name: Build and Release
on:
push:
tags:
- 'v*'
jobs:
build:
name: Build and release
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build
run: make
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >-
gh release create ${{ github.ref }}
--title ${{ github.ref }}
--notes "Release ${{ github.ref }}"
--draft false
--prerelease false
--repo ${{ github.repository }}
trash