-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2662 from get10101/chore/update-artifact-gh-actions
Update upload/download-artifact GH actions
- Loading branch information
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,17 +39,17 @@ jobs: | |
- name: Generate FFI bindings | ||
run: just gen | ||
- name: Upload Rust bridge_generated directory | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: rust_bridge_generated | ||
path: mobile/native/src/bridge_generated/ | ||
- name: Upload Dart bridge_generated directory | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: dart_bridge_generated | ||
path: mobile/lib/bridge_generated/ | ||
- name: Upload Dart mocks directory | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: dart_mocks_generated | ||
path: mobile/test/*.mocks.dart | ||
|
@@ -81,7 +81,7 @@ jobs: | |
run: rustup show | ||
- uses: Swatinem/[email protected] | ||
- name: Download RUST FFI bindings | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: rust_bridge_generated | ||
path: mobile/native/src/bridge_generated | ||
|
@@ -102,12 +102,12 @@ jobs: | |
cache-key: flutter-${{ env.FLUTTER_VERSION }} | ||
cache-path: ${{ runner.tool_cache }}/flutter | ||
- name: Download Dart mocks directory | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: dart_mocks_generated | ||
path: mobile/test | ||
- name: Download Dart bridge_generated directory | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: dart_bridge_generated | ||
path: mobile/lib/bridge_generated | ||
|
@@ -135,15 +135,15 @@ jobs: | |
cache-key: flutter-${{ env.FLUTTER_VERSION }} | ||
cache-path: ${{ runner.tool_cache }}/flutter | ||
- name: Download Rust generated FFI flutter bindings | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: rust_bridge_generated | ||
path: mobile/native/src/bridge_generated | ||
- name: Running cargo tests | ||
run: RUST_BACKTRACE=1 cargo test | ||
# Flutter tests run `build_runner`, so no need to download mocks | ||
- name: Download Dart bridge_generated directory | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: dart_bridge_generated | ||
path: mobile/lib/bridge_generated | ||
|
@@ -212,7 +212,7 @@ jobs: | |
target/debug/coordinator | ||
key: test-cache-${{ github.run_id }}-${{ github.run_number }} | ||
- name: Download RUST FFI bindings | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: rust_bridge_generated | ||
path: mobile/native/src/bridge_generated | ||
|
@@ -333,7 +333,7 @@ jobs: | |
run: rustup show | ||
- uses: Swatinem/[email protected] | ||
- name: Download RUST FFI bindings | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: rust_bridge_generated | ||
path: mobile/native/src/bridge_generated | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters