9696 needs : [Checkout_Repos, LocRes-Builder-Input, LocRes-Builder-Output]
9797 runs-on : self-hosted
9898 steps :
99- - name : Split ETP.yaml
100- run : |
101- cd "${{ github.workspace }}/MATRIX/dqx-offline-localization/Steam/App_ID-1358750/Build_ID-14529657/pakchunk0-WindowsNoEditor.pak/Game/Content/NonAssets/ETP"
102- echo -e "Splitting ETP.yaml"
103- yq -s "keys[], . = .[]" \
104- "./ETP.yaml" \
105- --yaml-fix-merge-anchor-to-spec -o json
106- rm "./anchors.json"
107-
108- - name : Install Python
99+ - name : Setup Python
109100 id : setup_python
110101 uses : actions/setup-python@v4
111102 with :
@@ -115,14 +106,24 @@ jobs:
115106
116107 - name : cache virtualenv
117108 uses : actions/cache@v3
118- id : cache-venv
109+ id : setup_cache
119110 with :
120- path : ${{ github.workspace }}/MATRIX/dqx_dat_dump/ venv/
111+ path : ./. venv/
121112 key : ${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-venv-${{ hashFiles('requirements.txt') }}
122113 restore-keys : |
123114 ${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-venv-
124115
116+ - name : Split ETP.yaml
117+ run : |
118+ cd "${{ github.workspace }}/MATRIX/dqx-offline-localization/Steam/App_ID-1358750/Build_ID-14529657/pakchunk0-WindowsNoEditor.pak/Game/Content/NonAssets/ETP"
119+ echo -e "Splitting ETP.yaml"
120+ yq -s "keys[], . = .[]" \
121+ "./ETP.yaml" \
122+ --yaml-fix-merge-anchor-to-spec -o json
123+ rm "./anchors.json"
124+
125125 - name : dqx_dat_dump ( no cache )
126+ if : steps.setup_cache.outputs.cache-hit != 'true'
126127 run : |
127128 cd "${{ github.workspace }}/MATRIX/dqx_dat_dump"
128129 python -m venv venv
@@ -138,10 +139,10 @@ jobs:
138139
139140 deactivate
140141 cd ~
141- echo test 1
142+ echo test 2
142143
143- if : steps.cache-venv.outputs.cache-hit != 'true'
144144 - name : dqx_dat_dump ( cache )
145+ if : steps.setup_cache.outputs.cache-hit == 'true'
145146 run : |
146147 cd "${{ github.workspace }}/MATRIX/dqx_dat_dump"
147148 python -m venv venv
@@ -157,7 +158,7 @@ jobs:
157158
158159 deactivate
159160 cd ~
160- echo test 1
161+ echo test 2
161162
162163# #######################################################################################################################################################################################################
163164# YAML_to_ETP:
0 commit comments