Skip to content

Commit

Permalink
add workflow for upload zip
Browse files Browse the repository at this point in the history
  • Loading branch information
yosupo06 committed Sep 8, 2020
1 parent 1974920 commit d44e54e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/artifact.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Upload artifact

on: [push, pull_request]

jobs:
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --user -r tools/requirements.txt
- name: generate doc
run: |
cd tools &&
./generate_document.py &&
./generate_zip.py
- name: Upload zip
uses: actions/upload-artifact@v2
with:
name: ac-library
path: tools/ac-library.zip

0 comments on commit d44e54e

Please sign in to comment.