Skip to content

Commit

Permalink
support swift 5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdeem committed Aug 6, 2024
1 parent e6e7b88 commit 1d337ba
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 4 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ on:
pull_request:
branches: [ "master" ]

env:
DEVELOPER_DIR: /Applications/Xcode_16.0.app/Contents/Developer

jobs:
build:
runs-on: macos-latest
env:
DEVELOPER_DIR: /Applications/Xcode_16.0.app/Contents/Developer
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -29,3 +28,13 @@ jobs:
with:
fail_ci_if_error: true
verbose: true
build-swift-5-10:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Check Swift version
run: swift --version
- name: Build
run: swift build
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0
5.10
18 changes: 18 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// swift-tools-version: 5.10

import PackageDescription

let package = Package(
name: "swift-environment-decoder",
products: [
.library(
name: "EnvironmentDecoder",
targets: ["EnvironmentDecoder"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
],
targets: [
.target(
name: "EnvironmentDecoder"),
])

0 comments on commit 1d337ba

Please sign in to comment.