vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 0bcc2ae7ab666eb473f5fc94f532baa2e4d507ff
parent bdb90460c4f4bf6c7e2e483b8b086cf888d704dc
Author: Sebastian Schmidt <publicarray@users.noreply.github.com>
Date:   Wed, 25 Dec 2019 12:50:57 +1100

Update rust-win.yml

Diffstat:
M.github/workflows/rust-win.yml | 16+++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/rust-win.yml b/.github/workflows/rust-win.yml @@ -13,6 +13,13 @@ jobs: steps: - 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 run: choco install openssl sqlite postgresql12 mysql @@ -38,9 +45,12 @@ jobs: toolchain: nightly override: true profile: minimal + target: x86_64-pc-windows-msvc - 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 run: cargo test --features ${{ matrix.db-backend }} @@ -48,13 +58,13 @@ jobs: - name: Upload windows artifact uses: actions/upload-artifact@v1.0.0 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 - name: Release uses: Shopify/upload-to-release@1.0.0 if: startsWith(github.ref, 'refs/tags/') 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 repo-token: ${{ secrets.GITHUB_TOKEN }}