Skip to content

Commit

Permalink
[INJIMOB-891] update ios workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Abhishek Paul <[email protected]>
  • Loading branch information
abhip2565 committed Jun 4, 2024
1 parent 1fd8b3a commit d4a9d5b
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions .github/workflows/ios-artifact-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
cp -R ./ios/ble ./artifacts/swift-artifact/ios-tuvali-library/Sources/ios-tuvali-library
cp -R ./ios/crypto ./artifacts/swift-artifact/ios-tuvali-library/Sources/ios-tuvali-library
cp -R ./ios/common ./artifacts/swift-artifact/ios-tuvali-library/Sources/ios-tuvali-library
- name: Configure Git
run: |
git config --local user.email "[email protected]"
Expand All @@ -58,9 +58,23 @@ jobs:
git add .
git commit --allow-empty -m "chore(#891): changes in script"
- name: Push Changes to Specific Branch
run: |
git pull origin --rebase
git push
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
commit-message: creating swift artifact
title: Release changes
body: Automated PR for swift artifact build.
branch: "update-ios-artifact"
delete-branch: true
base:${{ github.head_ref }}
token: ${{ secrets.ACTION_PAT }}
signoff: true

- uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: repo,message,author,commit,workflow,job # selectable (default: repo,message)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: "${{ github.event_name != 'pull_request' && failure() }}"

0 comments on commit d4a9d5b

Please sign in to comment.