mirror of
https://github.com/selfxyz/self.git
synced 2026-01-09 14:48:06 -05:00
* make contract sdk simpler (#514)
* make contract sdk simpler
* reduce root inputs
* delete convert function
* summarize our library
* update npm package
* update package version
* update attestation id
* add util function to get revealed data
* Revert "make contract sdk simpler (#514)" (#518)
This reverts commit 847b88d5ec.
* ci: bump actions/checkout to v4
---------
Co-authored-by: nicoshark <i.am.nicoshark@gmail.com>
Co-authored-by: turnoffthiscomputer <98749896+remicolin@users.noreply.github.com>
57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
name: Setup Mobile Environment
|
|
|
|
description: "Sets up the environment for mobile app builds"
|
|
|
|
inputs:
|
|
app_path:
|
|
description: "Path to the app directory"
|
|
required: true
|
|
node_version:
|
|
description: "Node version"
|
|
required: true
|
|
ruby_version:
|
|
description: "Ruby version"
|
|
required: true
|
|
workspace:
|
|
description: "Workspace directory path"
|
|
required: true
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install locales and dialog for local development
|
|
if: ${{ env.ACT }}
|
|
shell: bash
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y locales dialog unzip
|
|
|
|
# for fastlane
|
|
- name: Install locales and dialog
|
|
if: runner.os != 'macOS'
|
|
shell: bash
|
|
run: |
|
|
sudo locale-gen en_US.UTF-8
|
|
sudo update-locale LANG=en_US.UTF-8
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Ruby environment
|
|
uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: ${{ inputs.ruby_version }}
|
|
|
|
- name: Setup Node.js environment
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ inputs.node_version }}
|
|
|
|
- name: Install app dependencies
|
|
shell: bash
|
|
run: |
|
|
cd ${{ inputs.app_path }}
|
|
corepack enable
|
|
yarn install
|
|
yarn install-app:deploy
|