Skip to content

Commit

Permalink
Merge pull request #24 from tayloraswift/adopt-reusable-workflows
Browse files Browse the repository at this point in the history
adopt reusable workflows
  • Loading branch information
tayloraswift authored Nov 15, 2024
2 parents 4254d0b + 7d62a1f commit 68e6050
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 54 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/iOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,8 @@ on:
branches: [ master ]

jobs:
macos:
runs-on: macos-15
name: macOS
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Build
run: |
swift --version
xcrun xcodebuild build -scheme "Noise" -destination \
"generic/platform=ios"
build:
uses: tayloraswift/swift-device-action/.github/workflows/build.yml@master
with:
xcode-scheme: 'swift-noise-Package'
destination: ${{ github.workflow }}
17 changes: 5 additions & 12 deletions .github/workflows/tvOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,8 @@ on:
branches: [ master ]

jobs:
macos:
runs-on: macos-15
name: macOS
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Build
run: |
swift --version
xcrun xcodebuild build -scheme "Noise" -destination \
"generic/platform=tvos"
build:
uses: tayloraswift/swift-device-action/.github/workflows/build.yml@master
with:
xcode-scheme: 'swift-noise-Package'
destination: ${{ github.workflow }}
18 changes: 5 additions & 13 deletions .github/workflows/visionOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,8 @@ on:
branches: [ master ]

jobs:
macos:
runs-on: macos-15
name: macOS
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Build
run: |
swift --version
xcrun xcodebuild build -scheme "Noise" -destination \
"generic/platform=visionos"
build:
uses: tayloraswift/swift-device-action/.github/workflows/build.yml@master
with:
xcode-scheme: 'swift-noise-Package'
destination: ${{ github.workflow }}
18 changes: 5 additions & 13 deletions .github/workflows/watchOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,8 @@ on:
branches: [ master ]

jobs:
macos:
runs-on: macos-15
name: macOS
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Build
run: |
swift --version
xcrun xcodebuild build -scheme "Noise" -destination \
"generic/platform=watchos"
build:
uses: tayloraswift/swift-device-action/.github/workflows/build.yml@master
with:
xcode-scheme: 'swift-noise-Package'
destination: ${{ github.workflow }}
8 changes: 4 additions & 4 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/tayloraswift/swift-hash",
"state" : {
"revision" : "7a3fbb75ec4c88421796faaf0b47f16ffc21b348",
"version" : "0.6.2"
"revision" : "4d70a941b7039358f2ec8565f6c3b53c05f6c6ef",
"version" : "0.6.3"
}
},
{
"identity" : "swift-png",
"kind" : "remoteSourceControl",
"location" : "https://github.com/tayloraswift/swift-png",
"state" : {
"revision" : "99c1279148c0843328263b39158bf10ea7ea469e",
"version" : "4.4.4"
"revision" : "e677ba0728150c41118c52fcbebdfa74b071ab17",
"version" : "4.4.7"
}
}
],
Expand Down

0 comments on commit 68e6050

Please sign in to comment.