-
-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (35 loc) · 1.23 KB
/
package.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
name: GMA3Plugins Packager
on:
push:
tags:
- 'v*'
jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Make Package Path
run: mkdir -p Package/grandMA3/shared/resource/lib_plugins
- name: Copy Files to Package
run: |
TMP_PATH=Package
PLUGIN=grandMA3/shared/resource/lib_plugins
echo "::set-env name=R_VERSION::${GITHUB_REF/refs\/tags\//}"
cp -v README.md $TMP_PATH
cp -v LICENSE ${TMP_PATH}/LICENSE.txt
cp -vr ${PLUGIN}/"Appearance Builder"* $TMP_PATH
cp -vr ${PLUGIN}/"Assign AutoStart Fix"* $TMP_PATH
cp -vr ${PLUGIN}/"Copy Screenshots"* $TMP_PATH
cp -vr ${PLUGIN}/"Random Select"* $TMP_PATH
cp -vr ${PLUGIN}/"USB Stomper"* $TMP_PATH
cp -vr ${PLUGIN}/"Rem Dim"* $TMP_PATH
cp -vr ${PLUGIN}/"Fade Master"* $TMP_PATH
cp -vr ${PLUGIN}/"Drt-Utilities.lua" $TMP_PATH
find . -name "libcache.dat" -type f -delete -print
find . -name "pvt_*" -type f -delete
find . -name "pvt_*" -type d -delete
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: GMA3Plugins-${{env.R_VERSION}}
path: ./Package