mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-20 12:19:00 +00:00
Fix release workflow
This commit is contained in:
parent
a97abff1e7
commit
a5d0550100
18
.github/workflows/django-test.yml
vendored
18
.github/workflows/django-test.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
strategy:
|
||||
max-parallel: 4
|
||||
matrix:
|
||||
python-version: ["3.10.9"]
|
||||
python-version: ["3.11"]
|
||||
|
||||
steps:
|
||||
- name: 'Checkout'
|
||||
@ -36,21 +36,7 @@ jobs:
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: 'Install LND gRPC Dependencies'
|
||||
run: |
|
||||
cd api/lightning
|
||||
git clone https://github.com/googleapis/googleapis.git
|
||||
curl -o lightning.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/lightning.proto
|
||||
python3 -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. lightning.proto
|
||||
curl -o invoices.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/invoicesrpc/invoices.proto
|
||||
python3 -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. invoices.proto
|
||||
curl -o router.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/routerrpc/router.proto
|
||||
python3 -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. router.proto
|
||||
sed -i 's/^import .*_pb2 as/from . \0/' router_pb2.py
|
||||
sed -i 's/^import .*_pb2 as/from . \0/' invoices_pb2.py
|
||||
sed -i 's/^import .*_pb2 as/from . \0/' router_pb2_grpc.py
|
||||
sed -i 's/^import .*_pb2 as/from . \0/' lightning_pb2_grpc.py
|
||||
sed -i 's/^import .*_pb2 as/from . \0/' invoices_pb2_grpc.py
|
||||
|
||||
run: bash generate_grpc.sh
|
||||
- name: 'Create .env File'
|
||||
run: |
|
||||
mv .env-sample .env
|
||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -6,6 +6,9 @@ on:
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
|
||||
|
||||
permissions: write-all
|
||||
|
||||
jobs:
|
||||
check-versions:
|
||||
runs-on: ubuntu-latest
|
||||
@ -67,7 +70,6 @@ jobs:
|
||||
semver: ${{ needs.check-versions.outputs.semver }}
|
||||
|
||||
release:
|
||||
permissions: write-all
|
||||
needs: [check-versions, coordinator-image, client-image, android-build]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
Loading…
Reference in New Issue
Block a user