Skip to content

Commit

Permalink
testing github action 6
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekinstnt committed Sep 17, 2024
1 parent c0a05c6 commit b78a9f7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 23 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Update Datetime File
name: Generate iOS framework

on:
push:
branches:
- abhishek_GithubAction2

jobs:
update-datetime:
iOS-framework:
runs-on: macos-latest

steps:
Expand Down Expand Up @@ -36,21 +36,6 @@ jobs:
REPO: ${{ github.repository }}
TAG: ${{ github.ref_name }}
run: |
#COMMIT_MESSAGE=$(git log -1 --pretty=%B)
#if [[ "$COMMIT_MESSAGE" == *"RunAction"* ]]; then
echo "Commit message contains 'RunAction'."
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
chmod +x ./create_datetime_file.sh
./create_datetime_file.sh
#else
#echo "Commit message does not contain 'RunAction'."
#exit 0
#fi
#git config --global user.name "abhishek"
#git config --global user.email "[email protected]"
#git add -A
#git commit -m "Update datetime.txt with current date and time"
#git push
./aries/wrappers/uniffi-aries-vcx/scripts/ios.build.cargo.sh
15 changes: 11 additions & 4 deletions aries/wrappers/uniffi-aries-vcx/scripts/ios.build.cargo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,14 @@

}

generate_bindings
build_uniffi_for_demo
build_ios_xcframework
release_xcframework
testing_method() {
ASSET_URL="https://api.github.com/repos/$REPO/releases/tags/$TAG/assets"
ASSETS_JSON=$(curl -s -H "Authorization: token $GITHUB_TOKEN" "$ASSET_URL")
}

#generate_bindings
#build_uniffi_for_demo
#build_ios_xcframework
#release_xcframework

testing_method

0 comments on commit b78a9f7

Please sign in to comment.