Skip to content

Commit 14a40ee

Browse files
committed
adopt reusable workflows
1 parent cb72b69 commit 14a40ee

File tree

4 files changed

+20
-50
lines changed

4 files changed

+20
-50
lines changed

.github/workflows/iOS.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,8 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
macos:
11-
runs-on: macos-15
12-
name: macOS
13-
steps:
14-
- name: Checkout repository
15-
uses: actions/checkout@v3
16-
17-
- name: Build
18-
run: |
19-
swift --version
20-
xcrun xcodebuild build -scheme "Noise" -destination \
21-
"generic/platform=ios"
10+
build:
11+
uses: tayloraswift/swift-device-action/.github/workflows/build.yml@master
12+
with:
13+
xcode-scheme: 'swift-noise-Package'
14+
destination: ${{ github.workflow }}

.github/workflows/tvOS.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,8 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
macos:
11-
runs-on: macos-15
12-
name: macOS
13-
steps:
14-
- name: Checkout repository
15-
uses: actions/checkout@v3
16-
17-
- name: Build
18-
run: |
19-
swift --version
20-
xcrun xcodebuild build -scheme "Noise" -destination \
21-
"generic/platform=tvos"
10+
build:
11+
uses: tayloraswift/swift-device-action/.github/workflows/build.yml@master
12+
with:
13+
xcode-scheme: 'swift-noise-Package'
14+
destination: ${{ github.workflow }}

.github/workflows/visionOS.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,8 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
macos:
11-
runs-on: macos-15
12-
name: macOS
13-
steps:
14-
- name: Checkout repository
15-
uses: actions/checkout@v3
16-
17-
- name: Build
18-
run: |
19-
swift --version
20-
xcrun xcodebuild build -scheme "Noise" -destination \
21-
"generic/platform=visionos"
22-
10+
build:
11+
uses: tayloraswift/swift-device-action/.github/workflows/build.yml@master
12+
with:
13+
xcode-scheme: 'swift-noise-Package'
14+
destination: ${{ github.workflow }}

.github/workflows/watchOS.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,8 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
macos:
11-
runs-on: macos-15
12-
name: macOS
13-
steps:
14-
- name: Checkout repository
15-
uses: actions/checkout@v3
16-
17-
- name: Build
18-
run: |
19-
swift --version
20-
xcrun xcodebuild build -scheme "Noise" -destination \
21-
"generic/platform=watchos"
22-
10+
build:
11+
uses: tayloraswift/swift-device-action/.github/workflows/build.yml@master
12+
with:
13+
xcode-scheme: 'swift-noise-Package'
14+
destination: ${{ github.workflow }}

0 commit comments

Comments
 (0)