Skip to content

Commit

Permalink
Update publish_swift_package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorKabata committed Aug 11, 2024
1 parent 34718b6 commit 0ea347f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish_swift_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Create and Publish Swift Package

on:
workflow_dispatch:
inputs:
iOSVersionName:
description: 'iOS Version Name (eg. 0.9.0)'
required: true

jobs:
build:
Expand All @@ -18,7 +22,7 @@ jobs:

- name: Build iOS framework
id: buildPackage
run: ./gradlew createSwiftPackage
run: ./gradlew createSwiftPackage --stacktrace

- name: Upload Swift Package directory
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -52,4 +56,4 @@ jobs:
destination-github-username: 'VictorKabata'
destination-repository-name: 'DarajaSwiftPackage'
create-target-branch-if-needed: true
target-branch: ${{ github.event.inputs.iOSBranchName }}
target-branch: ${{ github.event.inputs.iOSVersionName }}

0 comments on commit 0ea347f

Please sign in to comment.