Skip to content

Commit 6681d41

Browse files
committed
remove local action wrappers
1 parent 1aaaa72 commit 6681d41

File tree

7 files changed

+22
-117
lines changed

7 files changed

+22
-117
lines changed

.github/actions/buildnative/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runs:
1414
echo "JAVA_HOME_11=$JAVA_HOME_11_X64" >> $GITHUB_ENV
1515
fi
1616
17-
- uses: ./.github/actions/cache
17+
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
1818
id: cache-c
1919
with:
2020
path: lib/sentrysupplemental/bin
@@ -35,7 +35,7 @@ runs:
3535
shell: cmd
3636
run: lib\sentrysupplemental\build.cmd
3737

38-
- uses: ./.github/actions/cache
38+
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
3939
id: cache-android
4040
with:
4141
path: lib/sentry-android-supplemental/bin

.github/actions/cache-restore/action.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/actions/cache/action.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/actions/download-artifact/action.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
uses: ./.github/actions/install-zstd
5959

6060
- id: cache
61-
uses: ./.github/actions/cache
61+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
6262
with:
6363
path: src/Sentry/Platforms/Native/sentry-native
6464
key: sentry-native-${{ matrix.rid }}-${{ hashFiles('scripts/build-sentry-native.ps1') }}-${{ hashFiles('.git/modules/modules/sentry-native/HEAD') }}
@@ -144,47 +144,47 @@ jobs:
144144

145145
- name: Download sentry-native (linux-x64)
146146
if: ${{ (env.CI_PUBLISHING_BUILD == 'true') || (matrix.rid == 'linux-x64') }}
147-
uses: ./.github/actions/cache-restore
147+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
148148
with:
149149
path: src/Sentry/Platforms/Native/sentry-native
150150
key: sentry-native-linux-x64-${{ hashFiles('scripts/build-sentry-native.ps1') }}-${{ hashFiles('.git/modules/modules/sentry-native/HEAD') }}
151151
fail-on-cache-miss: true
152152

153153
- name: Download sentry-native (linux-arm64)
154154
if: ${{ (env.CI_PUBLISHING_BUILD == 'true') || (matrix.rid == 'linux-arm64') }}
155-
uses: ./.github/actions/cache-restore
155+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
156156
with:
157157
path: src/Sentry/Platforms/Native/sentry-native
158158
key: sentry-native-linux-arm64-${{ hashFiles('scripts/build-sentry-native.ps1') }}-${{ hashFiles('.git/modules/modules/sentry-native/HEAD') }}
159159
fail-on-cache-miss: true
160160

161161
- name: Download sentry-native (linux-musl-x64)
162162
if: ${{ (env.CI_PUBLISHING_BUILD == 'true') || (matrix.rid == 'linux-musl-x64') }}
163-
uses: ./.github/actions/cache-restore
163+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
164164
with:
165165
path: src/Sentry/Platforms/Native/sentry-native
166166
key: sentry-native-linux-musl-x64-${{ hashFiles('scripts/build-sentry-native.ps1') }}-${{ hashFiles('.git/modules/modules/sentry-native/HEAD') }}
167167
fail-on-cache-miss: true
168168

169169
- name: Download sentry-native (linux-musl-arm64)
170170
if: ${{ (env.CI_PUBLISHING_BUILD == 'true') || (matrix.rid == 'linux-musl-arm64') }}
171-
uses: ./.github/actions/cache-restore
171+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
172172
with:
173173
path: src/Sentry/Platforms/Native/sentry-native
174174
key: sentry-native-linux-musl-arm64-${{ hashFiles('scripts/build-sentry-native.ps1') }}-${{ hashFiles('.git/modules/modules/sentry-native/HEAD') }}
175175
fail-on-cache-miss: true
176176

177177
- name: Download sentry-native (macos)
178178
if: ${{ (env.CI_PUBLISHING_BUILD == 'true') || (matrix.rid == 'macos') }}
179-
uses: ./.github/actions/cache-restore
179+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
180180
with:
181181
path: src/Sentry/Platforms/Native/sentry-native
182182
key: sentry-native-macos-${{ hashFiles('scripts/build-sentry-native.ps1') }}-${{ hashFiles('.git/modules/modules/sentry-native/HEAD') }}
183183
fail-on-cache-miss: true
184184

185185
- name: Download sentry-native (win-x64)
186186
if: ${{ (env.CI_PUBLISHING_BUILD == 'true') || (matrix.rid == 'win-x64') }}
187-
uses: ./.github/actions/cache-restore
187+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
188188
with:
189189
path: src/Sentry/Platforms/Native/sentry-native
190190
key: sentry-native-win-x64-${{ hashFiles('scripts/build-sentry-native.ps1') }}-${{ hashFiles('.git/modules/modules/sentry-native/HEAD') }}
@@ -193,7 +193,7 @@ jobs:
193193

194194
- name: Download sentry-native (win-arm64)
195195
if: ${{ (env.CI_PUBLISHING_BUILD == 'true') || (matrix.rid == 'win-arm64') }}
196-
uses: ./.github/actions/cache-restore
196+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
197197
with:
198198
path: src/Sentry/Platforms/Native/sentry-native
199199
key: sentry-native-win-arm64-${{ hashFiles('scripts/build-sentry-native.ps1') }}-${{ hashFiles('.git/modules/modules/sentry-native/HEAD') }}
@@ -213,7 +213,7 @@ jobs:
213213

214214
- name: Upload build logs
215215
if: ${{ always() }}
216-
uses: ./.github/actions/upload-artifact
216+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
217217
with:
218218
name: ${{ matrix.rid }}-build-logs
219219
path: |
@@ -231,7 +231,7 @@ jobs:
231231

232232
- name: Upload build and test outputs
233233
if: failure()
234-
uses: ./.github/actions/upload-artifact
234+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
235235
with:
236236
name: ${{ matrix.rid }}-verify-test-results
237237
path: "**/*.received.*"
@@ -241,7 +241,7 @@ jobs:
241241

242242
- name: Archive NuGet Packages
243243
if: env.CI_PUBLISHING_BUILD == 'true'
244-
uses: ./.github/actions/upload-artifact
244+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
245245
with:
246246
name: ${{ github.sha }}
247247
if-no-files-found: error
@@ -261,7 +261,7 @@ jobs:
261261
262262
- name: Fetch NuGet Packages
263263
if: env.CI_PUBLISHING_BUILD == 'true'
264-
uses: ./.github/actions/download-artifact
264+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
265265
with:
266266
name: ${{ github.sha }}
267267
path: src
@@ -283,7 +283,7 @@ jobs:
283283
submodules: recursive
284284

285285
- name: Download sentry-native (win-x64)
286-
uses: ./.github/actions/cache-restore
286+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
287287
with:
288288
path: src/Sentry/Platforms/Native/sentry-native
289289
key: sentry-native-win-x64-${{ hashFiles('scripts/build-sentry-native.ps1') }}-${{ hashFiles('.git/modules/modules/sentry-native/HEAD') }}
@@ -305,7 +305,7 @@ jobs:
305305

306306
- name: Upload logs
307307
if: ${{ always() }}
308-
uses: ./.github/actions/upload-artifact
308+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
309309
with:
310310
name: ${{ runner.os }}-msbuild-logs
311311
path: |
@@ -342,7 +342,7 @@ jobs:
342342
uses: ./.github/actions/buildnative
343343

344344
- name: Fetch NuGet Packages
345-
uses: ./.github/actions/download-artifact
345+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
346346
with:
347347
name: ${{ github.sha }}
348348
path: src
@@ -371,7 +371,7 @@ jobs:
371371
run: echo "CI_PUBLISHING_BUILD=true" >> $GITHUB_ENV
372372

373373
- name: Download sentry-native (macos)
374-
uses: ./.github/actions/cache-restore
374+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
375375
with:
376376
path: src/Sentry/Platforms/Native/sentry-native
377377
key: sentry-native-macos-${{ hashFiles('scripts/build-sentry-native.ps1') }}-${{ hashFiles('.git/modules/modules/sentry-native/HEAD') }}

.github/workflows/device-tests-android.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Upload Android Test App (net9.0)
4444
if: matrix.tfm == 'net9.0'
45-
uses: ./.github/actions/upload-artifact
45+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4646
with:
4747
name: device-test-android-net9.0
4848
if-no-files-found: error
@@ -83,7 +83,7 @@ jobs:
8383
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8484

8585
- name: Download test app artifact
86-
uses: ./.github/actions/download-artifact
86+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
8787
with:
8888
name: device-test-android-${{ matrix.tfm }}
8989
path: bin
@@ -126,7 +126,7 @@ jobs:
126126

127127
- name: Upload results
128128
if: success() || failure()
129-
uses: ./.github/actions/upload-artifact
129+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
130130
with:
131131
name: device-test-android-${{ matrix.api-level }}-${{ matrix.tfm }}-results
132132
path: test_output

.github/workflows/device-tests-ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Upload results
4747
if: success() || failure()
48-
uses: ./.github/actions/upload-artifact
48+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4949
with:
5050
name: device-test-ios-results
5151
path: test_output

0 commit comments

Comments
 (0)