spotify-adblock/.github/workflows/release.yml

25 lines
581 B
YAML

name: release
on:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run make
run: make
- name: Attach build artifact to release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_name: spotify-adblock.so
asset_path: target/release/libspotifyadblock.so
asset_content_type: application/octet-stream