Skip to content

Commit 587c702

Browse files
authoredJan 12, 2023
Merge pull request #539 from valory-xyz/release
chore: upload packages fix
2 parents 3579d62 + 800e11e commit 587c702

File tree

1 file changed

+3
-101
lines changed

1 file changed

+3
-101
lines changed
 

‎.github/workflows/release.yml

+3-101
Original file line numberDiff line numberDiff line change
@@ -6,109 +6,10 @@ on:
66
types: [published]
77

88
jobs:
9-
publish-pip-packages:
10-
name: Create Release
11-
runs-on: ubuntu-20.04
12-
strategy:
13-
matrix:
14-
os: [ubuntu-latest]
15-
python-version: ["3.10"]
16-
steps:
17-
- name: Get version from tag
18-
id: tag_name
19-
run: |
20-
echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
21-
shell: bash
22-
- uses: actions/checkout@master
23-
- uses: actions/setup-python@v3
24-
with:
25-
python-version: ${{ matrix.python-versions }}
26-
- name: Install dependencies
27-
run: |
28-
sudo apt-get update --fix-missing
29-
sudo apt-get autoremove
30-
sudo apt-get autoclean
31-
python -m pip install --upgrade pip
32-
pip install pipenv twine
33-
34-
- name: Build wheels and source tarball
35-
run: |
36-
echo Processing open-aea
37-
pipenv run make dist
38-
39-
echo Processing aea-cli-benchmark
40-
cd plugins/aea-cli-benchmark
41-
pipenv run python setup.py sdist bdist_wheel
42-
cd ../..
43-
44-
echo Processing aea-cli-ipfs
45-
cd plugins/aea-cli-ipfs
46-
pipenv run python setup.py sdist bdist_wheel
47-
cd ../..
48-
49-
echo Processing aea-ledger-cosmos
50-
cd plugins/aea-ledger-cosmos
51-
pipenv run python setup.py sdist bdist_wheel
52-
cd ../..
53-
54-
echo Processing aea-ledger-ethereum
55-
cd plugins/aea-ledger-ethereum
56-
pipenv run python setup.py sdist bdist_wheel
57-
cd ../..
58-
59-
echo Processing aea-ledger-fetchai
60-
cd plugins/aea-ledger-fetchai
61-
pipenv run python setup.py sdist bdist_wheel
62-
cd ../..
63-
64-
65-
66-
67-
- name: Publish cli-benchmark Plugin to PyPI
68-
uses: pypa/gh-action-pypi-publish@release/v1
69-
with:
70-
user: __token__
71-
password: ${{ secrets.PYPI_API_TOKEN }}
72-
skip_existing: true
73-
packages_dir: plugins/aea-cli-benchmark/dist/
74-
75-
- name: Publish cli-ipfs Plugin to PyPI
76-
uses: pypa/gh-action-pypi-publish@release/v1
77-
with:
78-
user: __token__
79-
password: ${{ secrets.PYPI_API_TOKEN }}
80-
skip_existing: true
81-
packages_dir: plugins/aea-cli-ipfs/dist/
82-
83-
- name: Publish aea-ledger-cosmos Plugin to PyPI
84-
uses: pypa/gh-action-pypi-publish@release/v1
85-
with:
86-
user: __token__
87-
password: ${{ secrets.PYPI_API_TOKEN }}
88-
skip_existing: true
89-
packages_dir: plugins/aea-ledger-cosmos/dist/
90-
91-
- name: Publish aea-ledger-ethereum Plugin to PyPI
92-
uses: pypa/gh-action-pypi-publish@release/v1
93-
with:
94-
user: __token__
95-
password: ${{ secrets.PYPI_API_TOKEN }}
96-
skip_existing: true
97-
packages_dir: plugins/aea-ledger-ethereum/dist/
98-
99-
- name: Publish aea-ledger-fetchai Plugin to PyPI
100-
uses: pypa/gh-action-pypi-publish@release/v1
101-
with:
102-
user: __token__
103-
password: ${{ secrets.PYPI_API_TOKEN }}
104-
skip_existing: true
105-
packages_dir: plugins/aea-ledger-fetchai/dist/
1069

10710
publish-aea-packages:
108-
name: Push Autonomy Packages
109-
runs-on: ubuntu-20.04
110-
needs:
111-
- publish-pip-packages
11+
name: Push Open AEA Packages
12+
runs-on: ubuntu-latest
11213
strategy:
11314
matrix:
11415
os: [ubuntu-latest]
@@ -126,6 +27,7 @@ jobs:
12627
sudo apt-get autoclean
12728
python -m pip install --upgrade pip
12829
pip install open-aea[all] --no-cache
30+
pip install open-aea-cli-ipfs --no-cache
12931
13032
- name: Push Packages
13133
run: |

0 commit comments

Comments
 (0)
Please sign in to comment.