-
Notifications
You must be signed in to change notification settings - Fork 86
53 lines (45 loc) · 1.49 KB
/
publish_lvd_beta.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
53
name: publish_lvd_beta.yml
on:
workflow_run:
workflows: [make beta]
types:
- completed
jobs:
# bump the version and build the changelog
############## handle the creasion of the full package installation ##############
lvd_publish:
runs-on: windows-latest
steps:
- name: checkout version
uses: actions/[email protected]
- id: romfs_zip
uses: robinraju/[email protected]
with:
token: ${{ secrets.RELEASE_TOKEN }}
repository: "HDR-Development/romfs-release"
latest: true
zipBall: true
- id: yamlvd_exe
uses: robinraju/[email protected]
with:
repository: "ultimate-research/lvd-rs"
tag: v0.3.0
fileName: "yamlvd.exe"
- name: lvd_to_yml
run: |
7z x romfs.zip
mkdir yml
python3 scripts/lvd-to-yml.py .\yamlvd.exe .\ultimate\mods\hdr-stages\stage\ .\
- name: view_results
run: |
ls -R
- name: Push lvd file to Suddy's HDRStageTools
run: |
git config --global user.email "[email protected]"
git config --global user.name "SuddyN"
git clone -b gh-pages https://.:${{ secrets.API_TOKEN_GITHUB_HDRSTAGETOOL }}@github.com/SuddyN/HDRStageTools HDRStageTools
copy lvd.zip HDRStageTools/lvd/hdr-beta/lvd.zip
cd HDRStageTools
git add .
git diff-index --quiet HEAD || git commit -m "Automatic publish from HDR-Development/HewDraw-Remix"
git push origin gh-pages