Skip to content

Commit bc58a9a

Browse files
committed
ci: Fix the GitHub Action cd release
1 parent 803bcb9 commit bc58a9a

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/CD.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@ on:
55
# Pattern matched against refs/tags
66
tags:
77
- '*'
8+
pull_request:
9+
branches:
10+
- '*'
811

912
jobs:
1013
Release:
1114
name: Release XCFramework
1215
runs-on: macos-15
1316
env:
17+
LC_ALL: en_US.UTF-8
1418
CODESIGN_KEY_BASE64: "${{ secrets.CODESIGN_KEY_BASE64 }}"
1519
DEVELOPER_DIR: /Applications/Xcode_16.0.app
1620
strategy:

.github/workflows/CI.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
name: Cocoapods Lint
1717
runs-on: macos-15
1818
env:
19+
LC_ALL: en_US.UTF-8
1920
DEVELOPER_DIR: /Applications/Xcode_16.0.app
2021
steps:
2122
- name: Checkout
@@ -42,6 +43,7 @@ jobs:
4243
name: Cocoapods Demo
4344
runs-on: macos-15
4445
env:
46+
LC_ALL: en_US.UTF-8
4547
DEVELOPER_DIR: /Applications/Xcode_16.0.app
4648
WORKSPACE_NAME: SDWebImage.xcworkspace
4749
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
@@ -96,6 +98,7 @@ jobs:
9698
name: Unit Test
9799
runs-on: macos-15
98100
env:
101+
LC_ALL: en_US.UTF-8
99102
DEVELOPER_DIR: /Applications/Xcode_16.0.app
100103
WORKSPACE_NAME: SDWebImage.xcworkspace
101104
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
@@ -162,6 +165,7 @@ jobs:
162165
name: Build Library
163166
runs-on: macos-15
164167
env:
168+
LC_ALL: en_US.UTF-8
165169
DEVELOPER_DIR: /Applications/Xcode_16.0.app
166170
PROJECT_NAME: SDWebImage.xcodeproj
167171
SCHEME_NAME: SDWebImage

Scripts/build-frameworks.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

33
set -e
4+
set -x
45
set -o pipefail
56

67
XCODE_VERSION=$(xcodebuild -version | head -n 1| awk -F ' ' '{print $2}')

0 commit comments

Comments
 (0)