mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Move nbgv script and stop checking for delta feature
This commit is contained in:
@@ -2,7 +2,7 @@ param(
|
||||
[string]$version = $(nbgv get-version -v NuGetPackageVersion).Trim()
|
||||
)
|
||||
|
||||
$scriptDir = $PSScriptRoot
|
||||
$scriptDir = "$PSScriptRoot/.."
|
||||
$path = Join-Path $scriptDir "Cargo.toml"
|
||||
Write-Host "Setting version to $version"
|
||||
|
||||
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
rustup target add aarch64-pc-windows-msvc --toolchain 1.75.0-x86_64-pc-windows-msvc
|
||||
- name: Update Version
|
||||
shell: pwsh
|
||||
run: .\set-nbgv-version.ps1
|
||||
run: ./.github/set-nbgv-version.ps1
|
||||
- name: Build Rust Binaries
|
||||
run: cargo +1.75.0-x86_64-pc-windows-msvc build --target i686-pc-windows-msvc --features windows --release -p velopack_bins
|
||||
- name: Upload Rust Build Artifacts
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
sudo apt install -y g++-aarch64-linux-gnu gcc-aarch64-linux-gnu
|
||||
- name: Update Version
|
||||
shell: pwsh
|
||||
run: ./set-nbgv-version.ps1
|
||||
run: ./.github/set-nbgv-version.ps1
|
||||
- name: Build Rust (x64)
|
||||
run: |
|
||||
cargo build --release --target x86_64-unknown-linux-gnu
|
||||
@@ -140,7 +140,7 @@ jobs:
|
||||
dotnet tool update -g nbgv
|
||||
- name: Update Version
|
||||
shell: pwsh
|
||||
run: ./set-nbgv-version.ps1
|
||||
run: ./.github/set-nbgv-version.ps1
|
||||
- name: Build Rust (x64)
|
||||
run: |
|
||||
cargo build --release --target x86_64-apple-darwin
|
||||
@@ -191,7 +191,7 @@ jobs:
|
||||
- name: Install cargo-llvm-cov
|
||||
uses: taiki-e/install-action@cargo-llvm-cov
|
||||
- name: Check lib-rust
|
||||
run: cargo check -p velopack -F async,delta
|
||||
run: cargo check -p velopack -F async
|
||||
- name: Check lib-nodejs
|
||||
working-directory: src/lib-nodejs
|
||||
run: |
|
||||
@@ -316,7 +316,7 @@ jobs:
|
||||
setAllVars: true
|
||||
- name: Update Version
|
||||
shell: pwsh
|
||||
run: ./set-nbgv-version.ps1
|
||||
run: ./.github/set-nbgv-version.ps1
|
||||
- name: Download Rust Artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user