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 f7eaf31 commit b083cfb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-with-kmm-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ jobs:
path: ${{ github.workspace }}/JanusMessageSdk.xcframework.zip

- name: Create Tag
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/develop'
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/main'
if: github.ref == 'refs/heads/develop'
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/main'
if: github.ref == 'refs/heads/develop'
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/main'
if: github.ref == 'refs/heads/develop'
run: ./gradlew pushRemotePodspec


Expand Down
2 changes: 1 addition & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
install:
- FILE="-Dfile=shared-release.aar"
- mvn install:install-file $FILE -DgroupId=com.telnyx.janusmessagesdk -DartifactId=shared-android -Dversion=-0.7.26 -Dpackaging=aar -DpomFile=pom.xml
- mvn install:install-file $FILE -DgroupId=com.telnyx.janusmessagesdk -DartifactId=shared-android -Dversion=-0.7.28 -Dpackaging=aar -DpomFile=pom.xml
jdk:
- openjdk17

0 comments on commit b083cfb

Please sign in to comment.