Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
akihironitta committed Jul 11, 2022
1 parent 7b44f0e commit c56d25b
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/actions/compare-actions/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Compare actions
description: Compare actions' environments and show their diff

inputs:
pkg-name:
description: package name inside lightning.*
required: true

runs:
using: "composite"
steps:

- name: install dev. env
run: pip install "twine==4.0.1" setuptools wheel flake8
shell: bash

- name: Create package
env:
PACKAGE_NAME: ${{ inputs.pkg-name }}
run: |
python setup.py check --metadata --strict
flake8 src/lightning/ --ignore E402,F401,E501,W391,E303
python setup.py sdist bdist_wheel
shell: bash

- name: Check package
run: |
ls -l dist/
twine check dist/*
# python setup.py clean
shell: bash

- name: copy/export pkg
run: cp dist/* pypi/
shell: bash

0 comments on commit c56d25b

Please sign in to comment.