Skip to content

Commit

Permalink
ci: perf mirrorchyan upload
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO authored Feb 7, 2025
1 parent 02196ab commit 1857164
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,12 @@ jobs:
version=$(date --utc +%Y%m%d%H%M%S)
echo "version=$version" | tee -a "$GITHUB_OUTPUT"
- name: Zip for MirrorChyan
id: zip
run: |
mkdir MirrorChyan
cd MaaAssistantArknights/api
echo ${{ steps.version_name.outputs.version }} | jq -c '{timestamp:.}' | tee lastUpdateTime.json
zip -r ../../MirrorChyan/MaaResourceCache.zip gui resource lastUpdateTime.json
- uses: MirrorChyan/uploading-action@v1
with:
filetype: local
filename: "MirrorChyan/MaaResourceCache.zip"
mirrorchyan_rid: MaaResource
pick_files: '["resource"]'
version_name: ${{ steps.version_name.outputs.version }}
mirrorchyan_rid: MaaResourceCache
upload_token: ${{ secrets.MirrorChyanUploadToken }}

- name: Setup ssh key
Expand Down

0 comments on commit 1857164

Please sign in to comment.