Skip to content

Commit 68e6050

Browse files
authored
Merge pull request #24 from tayloraswift/adopt-reusable-workflows
adopt reusable workflows
2 parents 4254d0b + 7d62a1f commit 68e6050

File tree

5 files changed

+24
-54
lines changed

5 files changed

+24
-54
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 }}

Package.resolved

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)