Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GitHub action to export requirements.txt file from pyproject.toml file 📝

License

NotificationsYou must be signed in to change notification settings

Divkix/poetry-export-requirements-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This action prints exports the pyproject.toml and poetry.lock file to the requirements.txt file.

Inputs

NameRequiredDescriptionDefault
without-hashesfalseIf you want to use '--without-hashes' option when exporting the filetrue
outfile-namefalseCustom name for exported filerequirements.txt

Outputs

custom-file-name: Name of the output file

The current working directory will have arequirements.txt file generated from the pyproject.toml and poetry.lock files.

Example usage

name:poetry export requirements.txton:pull_request:push:branches:[main]jobs:export-requirements-txt:runs-on:ubuntu-lateststeps:    -uses:actions/checkout@v3    -uses:divideprojects/poetry-export-requirements-action@v1with:without-hashes:trueoutfile-name:requirements.txt

Make sure to useactions/checkout@3 as the first action in your pipeline.

About

GitHub action to export requirements.txt file from pyproject.toml file 📝

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp