Skip to content

Commit ee1ba80

Browse files
author
github-actions
committed
build: 2e1e441695f9ab6054785f309de7cb2fb5b18914
1 parent 54f260b commit ee1ba80

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/remote-build.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: build
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
env:
8+
EXCHANGES_JSON: '["binance", "okx", "kraken", "coinbase", "bybit"]'
9+
10+
jobs:
11+
build_for_pypi:
12+
if: ${{ !endsWith(github.repository, '/ccxt-python-single-exchange') }} && (contains(github.event.head_commit.message, '[BUILD]'))
13+
name: distribute-job
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
with:
19+
ref: ${{ github.ref }}
20+
persist-credentials: false
21+
- name: echo something
22+
run: echo "something"
23+
24+
readme_update:
25+
name: readme-upd
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout code
29+
uses: actions/checkout@v4
30+
with:
31+
ref: ${{ github.ref }}
32+
33+
- name: Update README with repository links
34+
run: chmod +x ./build/update-readme.sh && ./build/update-readme.sh
35+
36+
- name: Commit and push changes
37+
run: |
38+
git config --local user.email "[email protected]"
39+
git config --local user.name "GitHub Action"
40+
git add README.md
41+
git commit -m "Update README with exchange repository links" || echo "No changes to commit"
42+
git push

0 commit comments

Comments
 (0)