mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 09:47:38 +02:00
43 lines
759 B
YAML
43 lines
759 B
YAML
name: build-pypi
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- stable
|
|
- develop
|
|
- 'release/**'
|
|
|
|
pull_request:
|
|
branches:
|
|
- stable
|
|
- 'release/**'
|
|
|
|
jobs:
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Python 3.x
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: '3.x'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install setuptools wheel
|
|
|
|
- name: Build PyPi packages
|
|
run: |
|
|
python setup.py sdist --formats=gztar,zip
|
|
python setup.py bdist_wheel
|
|
|
|
- name: Archive dist
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: volatility3-pypi
|
|
path: |
|
|
dist/
|