Skip to content

Commit

Permalink
Bumping actions (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol authored Sep 26, 2024
1 parent f5e02e3 commit 90dfb0c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:
strategy:
matrix:
include:
# Available XCodes taken from https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md
# Available XCodes taken from https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
- macos-version: macos-14
xcode-version: 15.4
destination: "name=iPhone 15 Pro Max"
runs-on: ${{ matrix.macos-version }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install Dependencies
run: gem install xcpretty
- name: Select XCode
uses: maxim-lobanov/setup-xcode@v1.2.1
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode-version }}
- name: Build for iOS Simulator
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Create Release for My Demo App
on:
pull_request:
branches:
- main
push:
branches:
- main
Expand All @@ -14,11 +17,11 @@ jobs:
destination: name=iPhone 15 Pro Max
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install Dependencies
run: gem install xcpretty
- name: Select XCode
uses: maxim-lobanov/setup-xcode@v1.2.1
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ env.xcode-version }}
- name: Set Release Version
Expand All @@ -45,7 +48,7 @@ jobs:
cp -R build/Build/Products/Release-iphonesimulator/My\ Demo\ App.app Payload
zip -9 -r SauceLabs-Demo-App.Simulator.zip Payload
rm -rf Payload
- uses: yukiarrr/ios-build-action@v1.5.0
- uses: yukiarrr/ios-build-action@v1.12.0
with:
workspace-path: My Demo App.xcworkspace
project-path: My Demo App.xcodeproj
Expand Down Expand Up @@ -100,7 +103,7 @@ jobs:
cp -R build/Build/Products/*.xctestrun SauceLabs-Demo-App.Simulator.XCUITest.xctestrun
- name: Disable TestFairy
run: /usr/libexec/PlistBuddy -c "SET testfairyEnabled NO" "./My Demo App/Info.plist"
- uses: yukiarrr/ios-build-action@v1.5.0
- uses: yukiarrr/ios-build-action@v1.12.0
with:
workspace-path: My Demo App.xcworkspace
project-path: My Demo App.xcodeproj
Expand All @@ -113,7 +116,7 @@ jobs:
mobileprovision-base64: ${{ secrets.MOBILEPROVISION_BASE64 }}
team-id: ${{ secrets.TEAM_ID }}
- name: Add Artifacts to Github Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
destination: "name=iPhone 15 Pro Max"
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install Dependencies
run: gem install xcpretty
- name: Select XCode
uses: maxim-lobanov/setup-xcode@v1.2.1
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode-version }}
- name: Run Tests
Expand All @@ -38,11 +38,11 @@ jobs:
runs-on: macos-14
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install Dependencies
run: gem install xcpretty
- name: Select XCode
uses: maxim-lobanov/setup-xcode@v1.2.1
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 15.4
- name: Build for testing
Expand Down
Binary file not shown.

0 comments on commit 90dfb0c

Please sign in to comment.