Browse Source

fix: 🐛 fix CI

tags/0.1.0
shangfengh 2 years ago
parent
commit
ccde6106b5
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      .github/workflows/upload_COS.yml

+ 7
- 3
.github/workflows/upload_COS.yml View File

@@ -39,7 +39,7 @@ jobs:

- name: Hash Files
run: |
python ./dependency/py/HashFiles.py -t ./THUAI6/
python ./dependency/py/HashFiles.py -t ../THUAI6

- name: Save Primes
id: cache-primes-save
@@ -47,7 +47,7 @@ jobs:
with:
path: |
./THUAI6
key: ${{ runner.os }}-${{ hashFiles('./THUAI6/hash.json') }}
key: ${{ runner.os }}-${{ hashFiles('./hash.json') }}

build_upload:
needs: client_build
@@ -68,13 +68,17 @@ jobs:
- name: Pip Install paramiko
run: pip install paramiko

- name: Hash Files
run: |
python ./dependency/py/HashFiles.py -t ../THUAI6

- name: Restore cached Primes
id: cache-primes-restore
uses: actions/cache/restore@v3
with:
path: |
./THUAI6
key: ${{ steps.cache-primes-save.outputs.cache-primary-key }}
key: ${{ hashFiles('./hash.json') }}

- name: Publish
run: |


Loading…
Cancel
Save