From 572b6f83482d28c97ea01422bdb612cb5c846ff6 Mon Sep 17 00:00:00 2001 From: Nuno Leiria Date: Wed, 11 Oct 2023 13:07:29 +0200 Subject: [PATCH] test code signing --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a048cb15e..9d67b4787c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -175,6 +175,21 @@ jobs: uses: Leafwing-Studios/cargo-cache@v1.1.0 - name: Build run: cargo build --workspace --release + + - name: Code Sign Windows + if: ${{ matrix.os == 'windows-latest' }} + uses: sslcom/esigner-codesign@develop + with: + command: sign + username: ${{secrets.ES_USERNAME}} + password: ${{secrets.ES_PASSWORD}} + credential_id: ${{secrets.ES_CREDENTIAL_ID}} + totp_secret: ${{secrets.ES_TOTP_SECRET}} + file_path: target/release/ambient.exe + dir_path: target/release/ + override: true + malware_block: false + - name: Upload ambient executable artifact uses: actions/upload-artifact@v3 with: