forked from hyperledger/aries-vcx
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (35 loc) · 1.16 KB
/
run-ios-script.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Generate iOS framework
on:
push:
branches:
- abhishek_GithubAction2
jobs:
iOS-framework:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Dependencies
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew update
brew install pkg-config libsodium openssl zeromq just jq
- name: Set up Rust
run: |
rustc --version
rustup default 1.78.0
rustc --version
- name: Run the script
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
TAG: ${{ github.ref_name }}
run: |
echo "executing ios build"
chmod +x ./aries/wrappers/uniffi-aries-vcx/scripts/ios.build.cargo.sh
./aries/wrappers/uniffi-aries-vcx/scripts/ios.build.cargo.sh
git config --global user.name "abhishek"
git config --global user.email "[email protected]"
git add -A
git commit -m "Updating iOS swift API files"
git push