File tree Expand file tree Collapse file tree 2 files changed +36
-6
lines changed
Expand file tree Collapse file tree 2 files changed +36
-6
lines changed Original file line number Diff line number Diff line change 1+ name : Build wheel and Publish wheel to Bunny.net
2+
3+ on :
4+ push :
5+ branches :
6+ - jupyterlite # specify 'master' if that is your main branch
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v3
13+ - name : Install dependencies
14+ run : |
15+ python -m pip install --upgrade pip
16+ python -m pip install uv
17+ uv sync
18+ - name : Build package
19+ run : |
20+ uv build --wheel
21+ - name : Deploy to BunnyCDN
22+ uses : ayeressian/bunnycdn-storage-deploy@v2.3.0 #
23+ with :
24+ source : " ./dist"
25+ destination : " wheels/pynite-tools"
26+ storageZoneName : " ${{ secrets.STORAGE_NAME }}"
27+ storagePassword : " ${{ secrets.STORAGE_PASSWORD }}"
28+ accessKey : " ${{ secrets.STORAGE_KEY }}"
29+ pullZoneId : " ${{ secrets.ZONE_ID }}"
30+ upload : " true"
31+ remove : " true"
32+ purgePullZone : " true"
33+ purgePullZoneDelay : " 5"
Original file line number Diff line number Diff line change @@ -29,13 +29,10 @@ jobs:
2929 - name : Install dependencies
3030 run : |
3131 python -m pip install --upgrade pip
32- python -m pip install flit
33- flit install
34- - name : Build package
35- run : |
36- flit build
32+ python -m pip install uv
33+ uv sync
3734 - name : Publish package
3835 uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3936 with :
4037 user : __token__
41- password : ${{ secrets.PYPI_API_TOKEN }}
38+ password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments