File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1111 build :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v4
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+
17+ - name : Checkout gh-pages
18+ uses : actions/checkout@v4
1519 with :
1620 ref : ' gh-pages'
21+ path : ' gh-pages'
1722
1823 - name : Update Reports
1924 run : ./update-pytorch.sh
2227 env :
2328 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2429 run : |
30+ cd gh-pages
2531 git diff-index --quiet HEAD && exit 0 # commit only if something to do
2632 git config --local user.email "ci@github.io"
2733 git config --local user.name "Update CI"
Original file line number Diff line number Diff line change 1+ gh-pages /
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ [ -d gh-pages ] || git clone -q --branch gh-pages $( git config --get remote.origin.url) gh-pages
4+ cd gh-pages
5+
36# update a PyPI index from PyTorch = https://download.pytorch.org/$d with d=whl or whl/<compute platform>
47# this copies the content (main url + follows links to projects) and does 2 updates:
58# 1. copies the content in a "simple/" sub-directory to match the convention from PEP 503 simple (that allows other APIs in parallel)
You can’t perform that action at this time.
0 commit comments