@@ -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
@@ -61,12 +61,12 @@ jobs:
61
61
- name : Build
62
62
run : npm run build-ios
63
63
- name : Upload npm package artifact
64
- uses : actions/upload-artifact@v4
64
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
65
65
with :
66
66
name : npm-package
67
67
path : dist/nativescript-ios-${{steps.npm_version_output.outputs.NPM_VERSION}}.tgz
68
68
- name : Upload dSYMs artifact
69
- uses : actions/upload-artifact@v4
69
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
70
70
with :
71
71
name : NativeScript-dSYMs
72
72
path : dist/dSYMs
@@ -75,20 +75,20 @@ jobs:
75
75
runs-on : macos-14
76
76
needs : build
77
77
steps :
78
- - uses : maxim-lobanov/setup-xcode@v1
78
+ - uses : maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
79
79
with :
80
80
xcode-version : ${{env.XCODE_VERSION}}
81
- - uses : actions/checkout@v3
81
+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
82
82
- name : LLVM cache
83
- uses : actions/cache@v3
83
+ uses : actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f # v3.4.3
84
84
with :
85
85
path : ./llvm
86
86
key : ${{ hashFiles('download_llvm.sh') }}
87
- - uses : actions/setup-node@v3
87
+ - uses : actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
88
88
with :
89
89
node-version : 20
90
90
- name : Install Python
91
- uses : actions/setup-python@v4
91
+ uses : actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4.9.1
92
92
with :
93
93
python-version : " 3"
94
94
- name : Install Dependencies
@@ -106,7 +106,7 @@ jobs:
106
106
mkdir -p dist-test
107
107
echo TEST_FOLDER=$(pwd)/dist-test >> $GITHUB_ENV
108
108
- name : Xcode Tests
109
- uses : nick-fields/retry@v2
109
+ uses : nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
110
110
# try to run the tests with xcpretty. If it fails then try again without xcpretty twice for better log output
111
111
# 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
112
112
with :
@@ -122,7 +122,7 @@ jobs:
122
122
find $TEST_FOLDER/test-out -name "*junit*.xml" -maxdepth 1 -print0 | xargs -n 1 -0 npx verify-junit-xml
123
123
- name : Archive Test Result Data
124
124
if : always()
125
- uses : actions/upload-artifact@v4
125
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
126
126
with :
127
127
name : test-results
128
128
path : ${{env.TEST_FOLDER}}/test_results.xcresult
@@ -138,11 +138,11 @@ jobs:
138
138
NPM_VERSION : ${{needs.build.outputs.npm_version}}
139
139
NPM_TAG : ${{needs.build.outputs.npm_tag}}
140
140
steps :
141
- - uses : actions/setup-node@v3
141
+ - uses : actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
142
142
with :
143
143
node-version : 20
144
144
registry-url : " https://registry.npmjs.org"
145
-
145
+ - uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
146
146
with :
147
147
name : npm-package
148
148
path : dist
@@ -164,19 +164,19 @@ jobs:
164
164
env :
165
165
NPM_VERSION : ${{needs.build.outputs.npm_version}}
166
166
steps :
167
- - uses : actions/checkout@v3
167
+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
168
168
with :
169
169
fetch-depth : 0
170
- - uses : actions/setup-node@v3
170
+ - uses : actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
171
171
with :
172
172
node-version : 20
173
173
- name : Setup
174
174
run : npm install
175
-
175
+ - uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
176
176
with :
177
177
name : npm-package
178
178
path : dist
179
-
179
+ - uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
180
180
with :
181
181
name : NativeScript-dSYMs
182
182
path : dist/dSYMs
@@ -185,7 +185,7 @@ jobs:
185
185
run : find . -maxdepth 1 -name '*.dSYM' -print | xargs -I@ zip -r @.zip @
186
186
- name : Partial Changelog
187
187
run : npx conventional-changelog -p angular -r2 > body.md
188
- - uses : ncipollo/release-action@v1
188
+ - uses : ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0
189
189
with :
190
190
artifacts : " dist/nativescript-ios-*.tgz,dist/dSYMs/*.zip"
191
191
bodyFile : " body.md"
0 commit comments