| @@ -39,7 +39,7 @@ jobs: | |||||
| - name: Hash Files | - name: Hash Files | ||||
| run: | | run: | | ||||
| python ./dependency/py/HashFiles.py -t ./THUAI6/ | |||||
| python ./dependency/py/HashFiles.py -t ../THUAI6 | |||||
| - name: Save Primes | - name: Save Primes | ||||
| id: cache-primes-save | id: cache-primes-save | ||||
| @@ -47,7 +47,7 @@ jobs: | |||||
| with: | with: | ||||
| path: | | path: | | ||||
| ./THUAI6 | ./THUAI6 | ||||
| key: ${{ runner.os }}-${{ hashFiles('./THUAI6/hash.json') }} | |||||
| key: ${{ runner.os }}-${{ hashFiles('./hash.json') }} | |||||
| build_upload: | build_upload: | ||||
| needs: client_build | needs: client_build | ||||
| @@ -68,13 +68,17 @@ jobs: | |||||
| - name: Pip Install paramiko | - name: Pip Install paramiko | ||||
| run: pip install paramiko | run: pip install paramiko | ||||
| - name: Hash Files | |||||
| run: | | |||||
| python ./dependency/py/HashFiles.py -t ../THUAI6 | |||||
| - name: Restore cached Primes | - name: Restore cached Primes | ||||
| id: cache-primes-restore | id: cache-primes-restore | ||||
| uses: actions/cache/restore@v3 | uses: actions/cache/restore@v3 | ||||
| with: | with: | ||||
| path: | | path: | | ||||
| ./THUAI6 | ./THUAI6 | ||||
| key: ${{ steps.cache-primes-save.outputs.cache-primary-key }} | |||||
| key: ${{ hashFiles('./hash.json') }} | |||||
| - name: Publish | - name: Publish | ||||
| run: | | run: | | ||||