-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (45 loc) · 1.34 KB
/
do-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Manual Release Workflow
on:
workflow_dispatch:
inputs:
gst_repo:
description: 'gst-plugins-rs source repo'
required: true
default: 'https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git'
type: string
gst_version:
description: 'gst-plugins-rs branch/tag'
required: true
default: 'main'
type: string
gst_plugin:
description: 'path to plugin'
required: true
default: 'audio/spotify'
type: string
jobs:
build:
uses: ./.github/workflows/base.yml
with:
gst_repo: ${{ github.event.inputs.gst_repo }}
gst_version: ${{ github.event.inputs.gst_version }}
gst_plugin: ${{ github.event.inputs.gst_plugin }}
release:
name: Prepeare release
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download everything we built
uses: actions/download-artifact@v4
with:
path: goodies
merge-multiple: true
- run: ls -R goodies
- name: Draft the release
uses: softprops/action-gh-release@v1
with:
files: goodies/*
draft: true
body: 'gst-plugins-rs plugin ${{ github.event.inputs.gst_plugin }} version ${{ github.event.inputs.gst_version }}'