Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Added github action workflow for CI/CD #31

Merged
merged 9 commits into from
May 6, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add build artifact to gh action
zhongnansu committed May 6, 2020
commit 17d6bda55a8201279380ea751c9b932a087343c2
17 changes: 16 additions & 1 deletion .github/workflows/test-and-build-workflow.yml
Original file line number Diff line number Diff line change
@@ -23,6 +23,21 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install setuptools wheel

- name: Run Tox
run: tox
run: tox

- name: Build Artifact
run: python setup.py sdist bdist_wheel

- name: Create Artifact Path
run: |
mkdir -p opendistro-sql-cli-builds
cp -r ./dist/*.tar.gz ./dist/*.whl opendistro-sql-cli-builds/

- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: opendistro-sql-cli
path: opendistro-sql-cli-builds