-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (37 loc) · 1.08 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Release Flow
on:
release:
types: [published]
jobs:
publish-pip-packages:
name: Release framework
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10"]
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-versions }}
- name: Install dependencies
run: |
sudo apt-get update --fix-missing
sudo apt-get autoremove
sudo apt-get autoclean
python -m pip install --upgrade pip
pip install twine poetry==1.4.2
poetry install
poetry run autonomy packages sync --update-packages
- name: Build wheels and source tarball
run: |
echo Building distribution
make dist
- name: Publish open-autonomy Framework to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
skip_existing: true
packages_dir: dist/