Update main.yml #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Make requirements.txt | |
on: [push, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Automatic requirements.txt for Python Project | |
uses: ryan-rozario/pipreqs-action@master | |
# Put an example of mandatory inputs here | |
with: | |
PROJECT_PATH: . #default is the root of the repository | |
REQUIREMENT_PATH: ./requirements.txt #default is requirement.txt in the root of your repository |