Skip to content

Merge pull request #2602 from get10101/fix/nightly-task #1137

Merge pull request #2602 from get10101/fix/nightly-task

Merge pull request #2602 from get10101/fix/nightly-task #1137

name: "Build and push deliverables for latest main"
on:
push:
branches:
- main
jobs:
build_docker_image_for_latest_main:
permissions:
packages: write
contents: read
uses: ./.github/workflows/docker.yml
secrets: inherit
with:
tag: main
# job to run change detection
changes:
runs-on: ubuntu-latest
# Set job outputs to values from filter step
outputs:
ios-app: ${{ steps.filter.outputs.ios-app }}
android-app: ${{ steps.filter.outputs.android-app }}
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
token: ${{ secrets.GITHUB_TOKEN }}
filters: |
ios-app:
- '.github/workflows/ios-fastlane.yml'
- 'crates/**'
- 'mobile/**'
- 'Cargo.*'
android-app:
- '.github/workflows/android-fastlane.yml'
- 'crates/**'
- 'mobile/**'
- 'Cargo.*'
build_and_release_regtest_ios_app_for_latest_main:
needs: changes
if: needs.changes.outputs.ios-app == 'true'
permissions:
packages: write
contents: read
uses: ./.github/workflows/ios-fastlane.yml
secrets: inherit
with:
electrs_endpoint: http://146.0.73.175:3003
coordinator_p2p_endpoint: 021eddb3062fddef2c24f16f6de55fbd78ab985b74b41858719def46321d4be7d0@146.0.73.175:9045
coordinator_port_http: 80
network: signet
tag: main
oracle_endpoint: http://146.0.73.175:8081
oracle_pubkey: 16f88cf7d21e6c0f46bcbc983a4e3b19726c6c98858cc31c83551a88fde171c0
fastlane_developer_app_identifier: finance.get10101.app.test
fastlane_provisioning_profile_specifier: match AppStore finance.get10101.app.test
app_scheme: test
meme_endpoint: http://api.10101.finance/memes/
build_and_release_regtest_android_app_for_latest_main:
needs: changes
if: needs.changes.outputs.android-app == 'true'
permissions:
packages: write
contents: write
uses: ./.github/workflows/android-fastlane.yml
secrets: inherit
with:
tag: main
electrs_endpoint: http://146.0.73.175:3003
coordinator_p2p_endpoint: 021eddb3062fddef2c24f16f6de55fbd78ab985b74b41858719def46321d4be7d0@146.0.73.175:9045
coordinator_port_http: 80
network: signet
oracle_endpoint: http://146.0.73.175:8081
oracle_pubkey: 5d12d79f575b8d99523797c46441c0549eb0defb6195fe8a080000cbe3ab3859
meme_endpoint: http://api.10101.finance/memes/