Skip to content

Commit

Permalink
Try to fix artifact handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
ejball committed Jan 15, 2025
1 parent 853b537 commit 83ca592
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ jobs:
- name: Build Rust
run: .\build.ps1 build-rust
- name: Upload native artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: native-${{ runner.os }}
path: rust/logoshft/target/*/release/*
path: |
rust/logoshft/target/win-x64/release/logoshft.dll
rust/logoshft/target/linux-x64/release/liblogoshft.so
if-no-files-found: error
- name: Test Rust
run: .\build.ps1 test-rust
Expand All @@ -55,16 +57,10 @@ jobs:
uses: actions/checkout@v3
- name: Install .NET
uses: actions/setup-dotnet@v3
- name: Download Windows native artifacts
uses: actions/download-artifact@v3
- name: Download native artifacts
uses: actions/download-artifact@v4
with:
name: native-Windows
path: rust/logoshft/target/win-x64/release
- name: Download Linux native artifacts
uses: actions/download-artifact@v3
with:
name: native-Linux
path: rust/logoshft/target/linux-x64/release
path: rust/logoshft/target
- name: Build and Publish
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
Expand Down

0 comments on commit 83ca592

Please sign in to comment.