Attempt to fix Ruby and Python workflows
This commit is contained in:
parent
8954bbae4a
commit
dad9802826
|
@ -65,7 +65,12 @@ jobs:
|
|||
with:
|
||||
python-version: '3.5'
|
||||
architecture: 'x64'
|
||||
- uses: chrislennon/action-aws-cli@v1.1
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
pip install --upgrade awscli
|
||||
pip install --upgrade wheel
|
||||
pip install --upgrade setuptools
|
||||
pip install --upgrade twine
|
||||
- name: Pack and publish package
|
||||
working-directory: ./python
|
||||
env:
|
||||
|
@ -80,6 +85,5 @@ jobs:
|
|||
EOF
|
||||
cp ../README.md .
|
||||
aws s3 mv s3://${{ secrets.AWS_S3_BUCKET }}/hyperbuild/bin/python/${{ steps.version.outputs.VERSION }}/ ./hyperbuild/. --recursive
|
||||
pip install --upgrade setuptools wheel twine
|
||||
python setup.py sdist bdist_wheel
|
||||
python -m twine upload dist/*
|
||||
|
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
- uses: actions/checkout@v1
|
||||
- name: Prepare for rbenv
|
||||
run: |
|
||||
cat << 'EOF' >> "$HOME/.bashrc"
|
||||
cat << 'EOF' >> "$HOME/.bash_profile"
|
||||
export PATH="$HOME/.rbenv/bin:$PATH"
|
||||
eval "$(rbenv init -)"
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue