Skip to content

Commit

Permalink
Update WorkFlow
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacakakpo1 committed Apr 7, 2024
1 parent b083cfb commit 36dd5d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy-with-kmm-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Deploy WIth KMM Bridge Github Workflow
on:
push:
branches:
- develop
- main
# Jobs : https://github.com/touchlab/KMMBridgeGithubWorkflow/blob/main/.github/workflows/faktorybuildautoversion.yml


Expand Down Expand Up @@ -97,15 +97,15 @@ jobs:
path: ${{ github.workspace }}/JanusMessageSdk.xcframework.zip

- name: Create Tag
if: github.ref == 'refs/heads/develop'
if: github.ref == 'refs/heads/main'
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
git tag -a ${{ steps.autoversion.outputs.nextVersion }} -m "Release version ${{ steps.autoversion.outputs.nextVersion }}"
git push origin ${{ steps.autoversion.outputs.nextVersion }}
- name: Create Release
if: github.ref == 'refs/heads/develop'
if: github.ref == 'refs/heads/main'
id: create_release
uses: actions/create-release@v1
env:
Expand All @@ -116,7 +116,7 @@ jobs:
body: Updates for ${{ steps.autoversion.outputs.nextVersion }}

- name: Attach Artifact to Release
if: github.ref == 'refs/heads/develop'
if: github.ref == 'refs/heads/main'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -127,7 +127,7 @@ jobs:
asset_content_type: application/zip

- name: Push to CocoaPods
if: github.ref == 'refs/heads/develop'
if: github.ref == 'refs/heads/main'
run: ./gradlew pushRemotePodspec


Expand Down
Binary file modified shared-release.aar
Binary file not shown.

0 comments on commit 36dd5d6

Please sign in to comment.