Skip to content

Commit 3362bfa

Browse files
authored
Merge pull request #2662 from get10101/chore/update-artifact-gh-actions
Update upload/download-artifact GH actions
2 parents 4bef78c + f5fd04a commit 3362bfa

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/ci.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ jobs:
3939
- name: Generate FFI bindings
4040
run: just gen
4141
- name: Upload Rust bridge_generated directory
42-
uses: actions/upload-artifact@v2
42+
uses: actions/upload-artifact@v4
4343
with:
4444
name: rust_bridge_generated
4545
path: mobile/native/src/bridge_generated/
4646
- name: Upload Dart bridge_generated directory
47-
uses: actions/upload-artifact@v2
47+
uses: actions/upload-artifact@v4
4848
with:
4949
name: dart_bridge_generated
5050
path: mobile/lib/bridge_generated/
5151
- name: Upload Dart mocks directory
52-
uses: actions/upload-artifact@v2
52+
uses: actions/upload-artifact@v4
5353
with:
5454
name: dart_mocks_generated
5555
path: mobile/test/*.mocks.dart
@@ -81,7 +81,7 @@ jobs:
8181
run: rustup show
8282
- uses: Swatinem/[email protected]
8383
- name: Download RUST FFI bindings
84-
uses: actions/download-artifact@v2
84+
uses: actions/download-artifact@v4
8585
with:
8686
name: rust_bridge_generated
8787
path: mobile/native/src/bridge_generated
@@ -102,12 +102,12 @@ jobs:
102102
cache-key: flutter-${{ env.FLUTTER_VERSION }}
103103
cache-path: ${{ runner.tool_cache }}/flutter
104104
- name: Download Dart mocks directory
105-
uses: actions/download-artifact@v2
105+
uses: actions/download-artifact@v4
106106
with:
107107
name: dart_mocks_generated
108108
path: mobile/test
109109
- name: Download Dart bridge_generated directory
110-
uses: actions/download-artifact@v2
110+
uses: actions/download-artifact@v4
111111
with:
112112
name: dart_bridge_generated
113113
path: mobile/lib/bridge_generated
@@ -135,15 +135,15 @@ jobs:
135135
cache-key: flutter-${{ env.FLUTTER_VERSION }}
136136
cache-path: ${{ runner.tool_cache }}/flutter
137137
- name: Download Rust generated FFI flutter bindings
138-
uses: actions/download-artifact@v2
138+
uses: actions/download-artifact@v4
139139
with:
140140
name: rust_bridge_generated
141141
path: mobile/native/src/bridge_generated
142142
- name: Running cargo tests
143143
run: RUST_BACKTRACE=1 cargo test
144144
# Flutter tests run `build_runner`, so no need to download mocks
145145
- name: Download Dart bridge_generated directory
146-
uses: actions/download-artifact@v2
146+
uses: actions/download-artifact@v4
147147
with:
148148
name: dart_bridge_generated
149149
path: mobile/lib/bridge_generated
@@ -212,7 +212,7 @@ jobs:
212212
target/debug/coordinator
213213
key: test-cache-${{ github.run_id }}-${{ github.run_number }}
214214
- name: Download RUST FFI bindings
215-
uses: actions/download-artifact@v2
215+
uses: actions/download-artifact@v4
216216
with:
217217
name: rust_bridge_generated
218218
path: mobile/native/src/bridge_generated
@@ -333,7 +333,7 @@ jobs:
333333
run: rustup show
334334
- uses: Swatinem/[email protected]
335335
- name: Download RUST FFI bindings
336-
uses: actions/download-artifact@v2
336+
uses: actions/download-artifact@v4
337337
with:
338338
name: rust_bridge_generated
339339
path: mobile/native/src/bridge_generated

.github/workflows/create_release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
2222
print(f"::set-output name=version::{version}")
2323
24-
- uses: actions/download-artifact@v3
24+
- uses: actions/download-artifact@v4
2525
with:
2626
name: ${{ needs.build.outputs.ANDROID_APK_NAME }}
2727

0 commit comments

Comments
 (0)