Skip to content

Commit

Permalink
Make lib dlls available in schemas job
Browse files Browse the repository at this point in the history
  • Loading branch information
MGibson1 committed Sep 25, 2024
1 parent d03ba23 commit c0ab534
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/language-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Build workspace
run: cargo build

- name: Build schemas
run: npm run schemas

Expand All @@ -61,14 +64,14 @@ jobs:
path: ${{ github.workspace }}/languages.zip
if-no-files-found: error

- name: Bundle target libs
run: tar -czf target.libs.tar.gz target/(debug|release)/lib*.*
- name: Bundle target debug libs
run: tar -czf target.debug.tar.gz target/debug/lib*.*

- name: Upload target
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: target.libs.tar.gz
path: ${{ github.workspace }}/target.libs.tar.gz
name: target.debug.tar.gz
path: ${{ github.workspace }}/target.debug.tar.gz
if-no-files-found: error

test:
Expand Down Expand Up @@ -136,10 +139,10 @@ jobs:
- name: Download target artifact
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: target.libs.tar.gz
name: target.debug.tar.gz

- name: Untar target
run: tar -xzf target.libs.tar.gz
run: tar -xzf target.debug.tar.gz

- name: Set up run data
run: |
Expand Down

0 comments on commit c0ab534

Please sign in to comment.