27 lines
629 B
YAML
27 lines
629 B
YAML
name: release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
release-plugins:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: echo "Action started"
|
|
- name: Check out repository
|
|
uses: actions/checkout@v3
|
|
- run: apt update && apt install zip
|
|
- name: setup go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: '>=1.20.1'
|
|
- run: cd YouTubeMusic && zip -r YouTubeMusic.zip .
|
|
- name: Release
|
|
uses: https://gitea.com/actions/release-action@main
|
|
with:
|
|
files: |-
|
|
YouTubeMusic/YouTubeMusic.zip
|
|
api_key: '${{secrets.RELEASE_TOKEN}}'
|