Skip to content

Commit

Permalink
chore(#891): Edited Git Actions for Swift Version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayushi Dey authored and Ayushi Dey committed Mar 28, 2024
1 parent d11eb9a commit 1382189
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ios-artefact-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ jobs:
swift package init --type library
rm -rf /ios-tuvali-library
- name: Move required files
run: |
cp -R ./ios/Wallet ./ios-tuvali-library/Sources/ios-tuvali-library
cp -R ./ios/ble ./ios-tuvali-library/Sources/ios-tuvali-library
cp -R ./ios/crypto ./ios-tuvali-library/Sources/ios-tuvali-library
cp -R ./ios/common ./ios-tuvali-library/Sources/ios-tuvali-library
cd ios-tuvali-library/Sources/ios-tuvali-library
ls
# - name: Move required files
# run: |
# cp -R ./ios/Wallet ./ios-tuvali-library/Sources/ios-tuvali-library
# cp -R ./ios/ble ./ios-tuvali-library/Sources/ios-tuvali-library
# cp -R ./ios/crypto ./ios-tuvali-library/Sources/ios-tuvali-library
# cp -R ./ios/common ./ios-tuvali-library/Sources/ios-tuvali-library
# cd ios-tuvali-library/Sources/ios-tuvali-library
# ls

- name: Edit Package.swift
run: |
Expand Down
4 changes: 2 additions & 2 deletions artefacts/tuvali-ios-artefact/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let package = Package(
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "ios-tuvali-library",
targets: ["ios-tuvali-library/Sources"]),
targets: ["ios-tuvali-library"]),
],
dependencies: [
.package(url: "https://github.com/1024jp/GzipSwift", from: Version(6, 0, 0)),
Expand All @@ -19,7 +19,7 @@ let package = Package(
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "ios-tuvali-library/Sources"),
name: "ios-tuvali-library"),
.testTarget(
name: "ios-tuvali-libraryTests",
dependencies: ["ios-tuvali-library"]),
Expand Down

0 comments on commit 1382189

Please sign in to comment.