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 - 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: |


Loading…
Cancel
Save