summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAdam Paszke <apaszke@google.com>2021-11-10 12:13:13 +0000
committerAdam Paszke <adam.paszke@gmail.com>2021-11-10 13:14:47 +0100
commitf8d8c6d68583a608c02b48d2a5f4ca961e2e13fd (patch)
tree4c708d29cb3fa7250e9b5004bb17a7659a1c311e /.github
parent81f5ae294269e4621d069493ea35d099402d42c7 (diff)
Download example files before generating static pages for examples
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docs.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml
index 535deda2..c2354515 100644
--- a/.github/workflows/docs.yaml
+++ b/.github/workflows/docs.yaml
@@ -32,6 +32,13 @@ jobs:
${{ matrix.install_deps }}
echo "${{ matrix.path_extension }}" >> $GITHUB_PATH
+ - name: Get example files
+ run: |
+ wget http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/t10k-images-idx3-ubyte.gz
+ wget http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/t10k-labels-idx1-ubyte.gz
+ gunzip t10k-images-idx3-ubyte.gz t10k-labels-idx1-ubyte.gz
+ mv t10k-images-idx3-ubyte t10k-labels-idx1-ubyte $GITHUB_WORKSPACE/examples/
+
- name: Cache
uses: actions/cache@v2
with: