Skip to content

Commit

Permalink
Merged from main
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsMEMZ committed Feb 19, 2024
2 parents 73f5fa0 + eee2eb2 commit 674235c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,24 @@ on:

jobs:
build:

runs-on: macos-latest

runs-on: macos-13
strategy:
matrix:
configuration: [iOS, watchOS]
steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v

- name: Set Xcode Version
run: sudo xcode-select -s /Applications/Xcode_15.0.app

- name: Archive
env:
deOs: ${{ matrix.configuration }}
run: xcodebuild archive -scheme DarockKit -destination "generic/platform=${{ env.deOs }}" -archivePath "./DarockKit-${{ env.deOs }}"

- name: Upload Archive
uses: actions/upload-artifact@v3
with:
name: DarockKit-${{ matrix.configuration }}
path: ./DarockKit-${{ matrix.configuration }}

2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.7
// swift-tools-version: 5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand Down

0 comments on commit 674235c

Please sign in to comment.