-
-
Notifications
You must be signed in to change notification settings - Fork 7
35 lines (29 loc) · 829 Bytes
/
build.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
name: Build package
on:
workflow_dispatch:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install sources
uses: actions/checkout@v3
- name: Build package
run: |
make
wget https://github.com/Paco8/plugin.video.orange.spain/releases/download/v0.4.0/script.module.ttml2ssa-0.3.8.zip
- name: Create artifacts
uses: actions/upload-artifact@v2
with:
name: package
path: ./*.zip
- name: Upload package to release
if: github.event_name == 'release'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./*.zip
tag: ${{ github.ref }}
overwrite: true
file_glob: true