Skip to content

Commit

Permalink
fix: revert pipenv/poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Jul 14, 2021
1 parent 88c3a9e commit d2f5670
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ outputs:
runs:
using: "composite"
steps:
- run: |
if [ -f "Pipfile.lock" ];
then
pip3 install pipx
pipx install pipenv
mkdir -p package/lib || true
pipenv lock -r > package/lib/requirements.txt
fi
shell: bash
- run: |
if [ -f "poetry.lock" ]
then
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
mkdir -p package/lib || true
poetry export -f requirements.txt -o package/lib/requirements.txt
fi
shell: bash
# - run: |
# if [ -f "Pipfile.lock" ];
# then
# pip3 install pipx
# pipx install pipenv
# mkdir -p package/lib || true
# pipenv lock -r > package/lib/requirements.txt
# fi
# shell: bash
# - run: |
# if [ -f "poetry.lock" ]
# then
# curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
# mkdir -p package/lib || true
# poetry export -f requirements.txt -o package/lib/requirements.txt
# fi
# shell: bash
- run: |
if [ ! -z $INPUT_VERSION ]; then ARG_VERSION="--ta-version=${INPUT_VERSION}"; fi
echo "::set-output name=result::$(echo $ARG_VERSION)"
Expand Down

0 comments on commit d2f5670

Please sign in to comment.