Bump actions/checkout from 2 to 4 (#835) #178
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: Publish nightly wheel | |
on: | |
push: | |
branches: [devel] | |
jobs: | |
sdist: | |
runs-on: ubuntu-latest | |
name: Build wheel | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install build dependencies | |
run: | | |
pip install build | |
- name: Build wheel | |
run: | | |
make clean receptorctl_wheel | |
- name: Upload wheel | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
run: | | |
pip install boto3 | |
ansible -i localhost, -c local all -m aws_s3 \ | |
-a "bucket=receptor-nightlies object=receptorctl/receptorctl-0.0.0-py3-none-any.whl src=$(ls receptorctl/dist/*.whl | head -n 1) mode=put" |