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 authored Nov 11, 2024
1 parent 8e44912 commit dd5ad26
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/publish_swift_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
build:
name: 🔨 Build & Publish
name: 🔨 Build
runs-on: macos-latest
steps:
- name: Checkout
Expand All @@ -22,7 +22,7 @@ jobs:

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

- name: Upload Swift Package directory
uses: actions/upload-artifact@v3
Expand All @@ -31,6 +31,20 @@ jobs:
path: daraja/swiftpackage
retention-days: 1

push:
name: 📤 Push to Swift Repo
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Download directory with swift package
uses: actions/download-artifact@v4
with:
name: swiftpackage
path: swiftpackage

- name: Display structure of downloaded files
run: ls -R

Expand Down

0 comments on commit dd5ad26

Please sign in to comment.