mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
ci: missed install nbgv!
This commit is contained in:
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
@@ -7,7 +7,7 @@ env:
|
|||||||
VELOPACK_B2_TEST_TOKEN: ${{ secrets.VELOPACK_B2_TEST_TOKEN }}
|
VELOPACK_B2_TEST_TOKEN: ${{ secrets.VELOPACK_B2_TEST_TOKEN }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-rust:
|
test-rust-bins:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
os: [macos-latest, windows-latest, ubuntu-latest]
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
directory: ./test
|
directory: ./test
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
|
|
||||||
build-rust:
|
build-rust-bins:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
os: [macos-latest, windows-latest, ubuntu-latest]
|
||||||
@@ -52,6 +52,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Install NBGV
|
||||||
|
run: dotnet tool install -g nbgv
|
||||||
|
if: ${{ matrix.os == 'macos-latest' }}
|
||||||
|
continue-on-error: true
|
||||||
- name: Build Rust
|
- name: Build Rust
|
||||||
working-directory: src/Rust
|
working-directory: src/Rust
|
||||||
run: cargo build --release ${{ matrix.rust_flags }}
|
run: cargo build --release ${{ matrix.rust_flags }}
|
||||||
@@ -82,7 +86,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
os: [macos-latest, windows-latest, ubuntu-latest]
|
||||||
needs: [build-rust]
|
needs: [build-rust-bins]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Print dotnet version
|
- name: Print dotnet version
|
||||||
@@ -90,6 +94,12 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Install NBGV
|
||||||
|
run: dotnet tool install -g nbgv
|
||||||
|
if: ${{ matrix.os == 'macos-latest' }}
|
||||||
|
continue-on-error: true
|
||||||
|
- name: Install dotnet-coverage
|
||||||
|
run: dotnet tool install -g dotnet-coverage
|
||||||
- name: Download Rust OSX
|
- name: Download Rust OSX
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -123,42 +133,30 @@ jobs:
|
|||||||
|
|
||||||
package:
|
package:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build-rust]
|
needs: [build-rust-bins]
|
||||||
steps:
|
steps:
|
||||||
- name: Print dotnet version
|
- name: Print dotnet version
|
||||||
run: dotnet --info
|
run: dotnet --info
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ~/.nuget/packages
|
|
||||||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
|
|
||||||
restore-keys: ${{ runner.os }}-nuget-
|
|
||||||
|
|
||||||
- name: Download Rust OSX
|
- name: Download Rust OSX
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: rust-macos-latest
|
name: rust-macos-latest
|
||||||
path: src/Rust/target/release
|
path: src/Rust/target/release
|
||||||
|
|
||||||
- name: Download Rust Windows
|
- name: Download Rust Windows
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: rust-windows-latest
|
name: rust-windows-latest
|
||||||
path: src/Rust/target/release
|
path: src/Rust/target/release
|
||||||
|
|
||||||
- name: Download Rust Linux
|
- name: Download Rust Linux
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: rust-ubuntu-latest
|
name: rust-ubuntu-latest
|
||||||
path: src/Rust/target/release
|
path: src/Rust/target/release
|
||||||
|
|
||||||
- name: Build .NET
|
- name: Build .NET
|
||||||
run: dotnet build -c Release /p:PackRustAssets=true
|
run: dotnet build -c Release /p:PackRustAssets=true
|
||||||
|
|
||||||
- name: Upload Package Artifacts
|
- name: Upload Package Artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user