Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO authored Feb 7, 2025
1 parent 77e8108 commit 890a4fc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,21 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Get Version
- name: Version Name
id: version_name
run: |
version=$(date --utc +%Y%m%d%H%M%S)
echo "version=$version" | tee -a "$GITHUB_OUTPUT"
cd MaaAssistantArknights/api
echo $version | jq -c '{timestamp:.}' | tee lastUpdateTime.json
- uses: MirrorChyan/uploading-action@v1
with:
filetype: local
mirrorchyan_rid: MaaResourceCache
pick_files: '["MaaAssistantArknights/api/gui", "MaaAssistantArknights/api/resource", "MaaAssistantArknights/api/lastUpdateTime.json"]'
working-directory: "MaaAssistantArknights/api/"
pick_files: '["gui", "resource", "lastUpdateTime.json"]'
version_name: ${{ steps.version_name.outputs.version }}
upload_token: ${{ secrets.MirrorChyanUploadToken }}

Expand Down

0 comments on commit 890a4fc

Please sign in to comment.