mirror of
https://github.com/yattee/yattee.git
synced 2025-12-07 08:38:14 +00:00
Update GitHub Actions to use latest macOS and Xcode versions
- Update macOS build job to use macos-latest and Xcode 26.0.1 (matching iOS/tvOS) - Update bump-build workflow to use latest action versions (checkout@v4, create-pull-request@v7) - Add cache-version to ruby/setup-ruby for consistency
This commit is contained in:
5
.github/workflows/bump-build.yml
vendored
5
.github/workflows/bump-build.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
name: Bump build number
|
name: Bump build number
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Configure git
|
- name: Configure git
|
||||||
run: |
|
run: |
|
||||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
@@ -19,12 +19,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ruby-version: '3.1'
|
ruby-version: '3.1'
|
||||||
bundler-cache: true
|
bundler-cache: true
|
||||||
|
cache-version: 1
|
||||||
- uses: maierj/fastlane-action@v3.0.0
|
- uses: maierj/fastlane-action@v3.0.0
|
||||||
with:
|
with:
|
||||||
lane: bump_build
|
lane: bump_build
|
||||||
- run: echo "BUILD_NUMBER=$(cat Yattee.xcodeproj/project.pbxproj | grep -m 1 CURRENT_PROJECT_VERSION | cut -d' ' -f3 | sed 's/;//g')" >> $GITHUB_ENV
|
- run: echo "BUILD_NUMBER=$(cat Yattee.xcodeproj/project.pbxproj | grep -m 1 CURRENT_PROJECT_VERSION | cut -d' ' -f3 | sed 's/;//g')" >> $GITHUB_ENV
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v4
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GIT_AUTHORIZATION }}
|
token: ${{ secrets.GIT_AUTHORIZATION }}
|
||||||
branch: actions/bump-build-to-${{ env.BUILD_NUMBER }}
|
branch: actions/bump-build-to-${{ env.BUILD_NUMBER }}
|
||||||
|
|||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -52,7 +52,7 @@ jobs:
|
|||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
mac_notarized:
|
mac_notarized:
|
||||||
name: Build and notarize macOS app
|
name: Build and notarize macOS app
|
||||||
runs-on: macos-15
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
@@ -66,7 +66,7 @@ jobs:
|
|||||||
sed -i '' 's/3rd Party Mac Developer Application/Developer ID Application/' Yattee.xcodeproj/project.pbxproj
|
sed -i '' 's/3rd Party Mac Developer Application/Developer ID Application/' Yattee.xcodeproj/project.pbxproj
|
||||||
- uses: maxim-lobanov/setup-xcode@v1
|
- uses: maxim-lobanov/setup-xcode@v1
|
||||||
with:
|
with:
|
||||||
xcode-version: '16.4'
|
xcode-version: '26.0.1'
|
||||||
- uses: maierj/fastlane-action@v3.0.0
|
- uses: maierj/fastlane-action@v3.0.0
|
||||||
with:
|
with:
|
||||||
lane: mac build_and_notarize
|
lane: mac build_and_notarize
|
||||||
|
|||||||
Reference in New Issue
Block a user