-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (40 loc) · 1.35 KB
/
buildpackage.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
name: CI
on:
push:
tags:
- "ver*.*"
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout
uses: actions/checkout@v2
with:
lfs: true
clean: true
fetch-depth: 1
submodules: true
- name: ffmpeg
run: |1
sudo apt-get update
sudo apt-get install -y ffmpeg
ffmpeg -version
- name: set-output tag value
id: tag
run: echo ::set-output name=value::${GITHUB_REF/refs\/tags\//}
- name: Create zip
run: |
ffmpeg -y -i GeneralAtsPlugin/Unicorn/sound/ats_p_bell2.wav -af "volume=-10dB" E233-3000/ExternalData/Sound/ATS/ats_p_bell2.wav
mkdir deploy
cd E233-3000
zip ../deploy/E233-3000_${{ steps.tag.outputs.value }}.zip -r OriginalData ExternalData README.html
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
deploy/E233-3000_${{ steps.tag.outputs.value }}.zip