Skip to content

publish_lvd_nightly.yml #1

publish_lvd_nightly.yml

publish_lvd_nightly.yml #1

name: publish_lvd_nightly.yml
on:
workflow_run:
workflows: [build_nightly]
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/checkout@v2
- id: romfs_zip
uses: robinraju/[email protected]
with:
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-nightly/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