@@ -17,23 +17,23 @@ jobs:
17
17
npm_version : ${{ steps.npm_version_output.outputs.NPM_VERSION }}
18
18
npm_tag : ${{ steps.npm_version_output.outputs.NPM_TAG }}
19
19
steps :
20
- - uses : maxim-lobanov/setup-xcode@v1
20
+ - uses : maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
21
21
with :
22
22
xcode-version : ${{env.XCODE_VERSION}}
23
- - uses : actions/checkout@v3
23
+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
24
24
with :
25
25
fetch-depth : 0
26
26
- name : LLVM cache
27
- uses : actions/cache@v3
27
+ uses : actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f # v3.4.3
28
28
with :
29
29
path : ./llvm
30
30
key : ${{ hashFiles('download_llvm.sh') }}
31
- - uses : actions/setup-node@v3
31
+ - uses : actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
32
32
with :
33
33
node-version : 20
34
34
registry-url : " https://registry.npmjs.org"
35
35
- name : Install Python
36
- uses : actions/setup-python@v4
36
+ uses : actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4.9.1
37
37
with :
38
38
python-version : " 3"
39
39
- name : Install Dependencies
@@ -68,12 +68,12 @@ jobs:
68
68
- name : Build
69
69
run : npm run build-ios
70
70
- name : Upload npm package artifact
71
- uses : actions/upload-artifact@v4
71
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
72
72
with :
73
73
name : npm-package
74
74
path : dist/nativescript-ios-${{steps.npm_version_output.outputs.NPM_VERSION}}.tgz
75
75
- name : Upload dSYMs artifact
76
- uses : actions/upload-artifact@v4
76
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
77
77
with :
78
78
name : NativeScript-dSYMs
79
79
path : dist/dSYMs
@@ -82,20 +82,20 @@ jobs:
82
82
runs-on : macos-14
83
83
needs : build
84
84
steps :
85
- - uses : maxim-lobanov/setup-xcode@v1
85
+ - uses : maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
86
86
with :
87
87
xcode-version : ${{env.XCODE_VERSION}}
88
- - uses : actions/checkout@v3
88
+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
89
89
- name : LLVM cache
90
- uses : actions/cache@v3
90
+ uses : actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f # v3.4.3
91
91
with :
92
92
path : ./llvm
93
93
key : ${{ hashFiles('download_llvm.sh') }}
94
- - uses : actions/setup-node@v3
94
+ - uses : actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
95
95
with :
96
96
node-version : 20
97
97
- name : Install Python
98
- uses : actions/setup-python@v4
98
+ uses : actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4.9.1
99
99
with :
100
100
python-version : " 3"
101
101
- name : Install Dependencies
@@ -120,7 +120,7 @@ jobs:
120
120
mkdir -p dist-test
121
121
echo TEST_FOLDER=$(pwd)/dist-test >> $GITHUB_ENV
122
122
- name : Xcode Tests
123
- uses : nick-fields/retry@v2
123
+ uses : nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
124
124
# try to run the tests with xcpretty. If it fails then try again without xcpretty twice for better log output
125
125
# the xcode tests are a bit flaky and they should never fail on this step, as this step only collects the JS test results as junit xml
126
126
with :
@@ -136,7 +136,7 @@ jobs:
136
136
find $TEST_FOLDER/test-out -name "*junit*.xml" -maxdepth 1 -print0 | xargs -n 1 -0 npx verify-junit-xml
137
137
- name : Archive Test Result Data
138
138
if : always()
139
- uses : actions/upload-artifact@v4
139
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
140
140
with :
141
141
name : test-results
142
142
path : ${{env.TEST_FOLDER}}/test_results.xcresult
@@ -152,11 +152,11 @@ jobs:
152
152
NPM_VERSION : ${{needs.build.outputs.npm_version}}
153
153
NPM_TAG : ${{needs.build.outputs.npm_tag}}
154
154
steps :
155
- - uses : actions/setup-node@v3
155
+ - uses : actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
156
156
with :
157
157
node-version : 20
158
158
registry-url : " https://registry.npmjs.org"
159
-
159
+ - uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
160
160
with :
161
161
name : npm-package
162
162
path : dist
@@ -178,19 +178,19 @@ jobs:
178
178
env :
179
179
NPM_VERSION : ${{needs.build.outputs.npm_version}}
180
180
steps :
181
- - uses : actions/checkout@v3
181
+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
182
182
with :
183
183
fetch-depth : 0
184
- - uses : actions/setup-node@v3
184
+ - uses : actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
185
185
with :
186
186
node-version : 20
187
187
- name : Setup
188
188
run : npm install
189
-
189
+ - uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
190
190
with :
191
191
name : npm-package
192
192
path : dist
193
-
193
+ - uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
194
194
with :
195
195
name : NativeScript-dSYMs
196
196
path : dist/dSYMs
@@ -199,7 +199,7 @@ jobs:
199
199
run : find . -maxdepth 1 -name '*.dSYM' -print | xargs -I@ zip -r @.zip @
200
200
- name : Partial Changelog
201
201
run : npx conventional-changelog -p angular -r2 > body.md
202
- - uses : ncipollo/release-action@v1
202
+ - uses : ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0
203
203
with :
204
204
artifacts : " dist/nativescript-ios-*.tgz,dist/dSYMs/*.zip"
205
205
bodyFile : " body.md"
0 commit comments