Skip to content

Commit

Permalink
Fix coscmd fails with Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
syimyuzya authored Dec 26, 2024
1 parent f6e91c2 commit 7926b17
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,14 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

# Publish to Tencent Cloud COS
- if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.repository == 'nk2028/tshet-uinh-examples' && github.ref == 'refs/heads/main')
name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.repository == 'nk2028/tshet-uinh-examples' && github.ref == 'refs/heads/main')
name: Install coscmd
run: sudo pip install coscmd
run: pip install coscmd
- if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.repository == 'nk2028/tshet-uinh-examples' && github.ref == 'refs/heads/main')
name: Configure coscmd
env:
Expand Down

0 comments on commit 7926b17

Please sign in to comment.