Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-23 05:20:28 +01:00
Update rust-win.yml
Dieser Commit ist enthalten in:
Ursprung
bdb90460c4
Commit
0bcc2ae7ab
1 geänderte Dateien mit 13 neuen und 3 gelöschten Zeilen
16
.github/workflows/rust-win.yml
gevendort
16
.github/workflows/rust-win.yml
gevendort
|
@ -13,6 +13,13 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: Cache choco cache
|
||||||
|
uses: actions/cache@v1.0.3
|
||||||
|
with:
|
||||||
|
path: ~\AppData\Local\Temp\chocolatey
|
||||||
|
key: ${{ runner.os }}-choco-cache
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: choco install openssl sqlite postgresql12 mysql
|
run: choco install openssl sqlite postgresql12 mysql
|
||||||
|
|
||||||
|
@ -38,9 +45,12 @@ jobs:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
override: true
|
override: true
|
||||||
profile: minimal
|
profile: minimal
|
||||||
|
target: x86_64-pc-windows-msvc
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo.exe build --verbose --features ${{ matrix.db-backend }} --release
|
run: cargo.exe build --verbose --features ${{ matrix.db-backend }} --release --target x86_64-pc-windows-msvc
|
||||||
|
env:
|
||||||
|
OPENSSL_DIR: C:\Program Files\OpenSSL-Win64\
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --features ${{ matrix.db-backend }}
|
run: cargo test --features ${{ matrix.db-backend }}
|
||||||
|
@ -48,13 +58,13 @@ jobs:
|
||||||
- name: Upload windows artifact
|
- name: Upload windows artifact
|
||||||
uses: actions/upload-artifact@v1.0.0
|
uses: actions/upload-artifact@v1.0.0
|
||||||
with:
|
with:
|
||||||
name: x86_64-pc-windows-${{ matrix.db-backend }}-bitwarden_rs
|
name: x86_64-pc-windows-msvc-${{ matrix.db-backend }}-bitwarden_rs
|
||||||
path: target/release/bitwarden_rs.exe
|
path: target/release/bitwarden_rs.exe
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: Shopify/upload-to-release@1.0.0
|
uses: Shopify/upload-to-release@1.0.0
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
name: x86_64-pc-windows-${{ matrix.db-backend }}-bitwarden_rs
|
name: x86_64-pc-windows-msvc-${{ matrix.db-backend }}-bitwarden_rs
|
||||||
path: target/release/bitwarden_rs.exe
|
path: target/release/bitwarden_rs.exe
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Laden …
In neuem Issue referenzieren