Skip to content

Commit

Permalink
Zip XcFramework and Create Release
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacakakpo1 committed Mar 10, 2024
1 parent 84d6352 commit ac29bc9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy-with-kmm-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,30 @@ jobs:
name: ${{ steps.autoversion.outputs.nextVersion }}
path: ${{ steps.autoversion.outputs.nextVersion }}.zip

- name: Create Tag
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 v1.0.0
- name: Create Release
id: create_release
uses: actions/create-release@v1
with:
tag_name: ${{ steps.autoversion.outputs.nextVersion }}
release_name: Release version ${{ steps.autoversion.outputs.nextVersion }}
body: Updates for ${{ steps.autoversion.outputs.nextVersion }}

- name: Attach Artifact to Release
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ steps.autoversion.outputs.nextVersion }}.zip
asset_name: ${{ steps.autoversion.outputs.nextVersion }}.zip
asset_content_type: application/zip


env:
PODSPEC_SSH_KEY_EXISTS: ${{ secrets.PODSPEC_SSH_KEY != ''}}
MODULE: ${{ inputs.module != '' && format('{0}:',inputs.module) || '' }}
Expand Down

0 comments on commit ac29bc9

Please sign in to comment.