A GitHub Action that uploads a file to a new release.
jobs:
build:
# ...
steps:
- uses: Guerra24/upload-to-release@v1
with:
name: my-artifact
path: build/a.out
repo-token: ${{ secrets.GITHUB_TOKEN }}
content-type: text/plain # Optional
This was inspired by: