55 lines
1.5 KiB
YAML
55 lines
1.5 KiB
YAML
name: Create Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
build-and-release:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Get tag version
|
|
id: tag
|
|
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
|
|
|
|
- name: Create extension package
|
|
run: |
|
|
zip -r sdb-audio-extractor-${{ steps.tag.outputs.VERSION }}.zip \
|
|
manifest.json \
|
|
popup.html \
|
|
popup.js \
|
|
options.html \
|
|
options.js \
|
|
content.js \
|
|
background.js \
|
|
icon16.png \
|
|
icon48.png \
|
|
icon128.png \
|
|
README.md
|
|
|
|
- name: Create Release
|
|
uses: akkuman/gitea-release-action@v1
|
|
with:
|
|
token: ${{ secrets.TOKEN }}
|
|
tag_name: ${{ steps.tag.outputs.VERSION }}
|
|
name: Release ${{ steps.tag.outputs.VERSION }}
|
|
draft: false
|
|
prerelease: false
|
|
body: |
|
|
## SDB Audio Extractor ${{ steps.tag.outputs.VERSION }}
|
|
|
|
Chrome extension for extracting audio from YouTube videos to your SDB soundboard.
|
|
|
|
### Installation
|
|
1. Download the `sdb-audio-extractor-${{ steps.tag.outputs.VERSION }}.zip` file
|
|
2. Open Chrome and go to `chrome://extensions/`
|
|
3. Enable "Developer mode"
|
|
4. Drag and drop the zip file onto the extensions page
|
|
files: |
|
|
sdb-audio-extractor-${{ steps.tag.outputs.VERSION }}.zip
|