Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Peersyst/near-mobile-wallet into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiParraCrespo committed Oct 10, 2024
2 parents bacfced + 8482ff3 commit 869e1e2
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
name: release

on:
workflow_dispatch:
inputs:
Expand All @@ -8,28 +6,27 @@ on:
required: true

jobs:
release:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
# Docker login
- uses: docker/login-action@v2
- name: 🏗 Setup repo
uses: actions/checkout@v3
- name: 🏗 Setup Node
uses: actions/setup-node@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PUSH_TOKEN }}
# Build and push docker image
- name: Build docker image
uses: docker/build-push-action@v4
node-version: 18.x
cache: yarn
- name: 🏗 Setup EAS
uses: expo/expo-github-action@v8
with:
file: Dockerfile
target: build
push: false
build-args: |
EXPO_TOKEN=${{ secrets.EXPO_TOKEN }}
PROFILE=productionRelease
# Build and push docker image
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: 📦 Install dependencies
run: yarn install
- name: 🏗 Set build number
run: sed -i -e "s/__BUILD_NUMBER__/${{ github.run_number }}/" eas.json
- name: 🚀 Build app
run: eas build --non-interactive --no-wait --platform=android --profile=productionRelease
- name: Generate Github release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit 869e1e2

Please sign in to comment.