Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
samsiddiquiz committed Jul 18, 2024
1 parent 9bd0013 commit 2ac5c07
Showing 1 changed file with 28 additions and 12 deletions.
40 changes: 28 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,32 @@
name: CI

on:
on:
push:
branches:
- main
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
build-and-sign:
runs-on: windows-latest
name: Build app and sign files with Trusted Signing
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Print a message
run: echo "Hello, GitHub Actions!"
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: dotnet restore App

- name: Build
run: dotnet build --configuration Release --no-restore WpfApp

- name: Sign files with Trusted Signing
uses: azure/[email protected]
with:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
azure-client-secret: ${{ secrets.AZURE_CLIENT_SECRET }}
endpoint: https://eus.codesigning.azure.net/
trusted-signing-account-name: IDDCodeSigning
certificate-profile-name: CodeSigning
files-folder: ${{ github.workspace }}\Files
files-folder-filter: app
file-digest: SHA256
timestamp-rfc3161: http://timestamp.acs.microsoft.com
timestamp-digest: SHA256

0 comments on commit 2ac5c07

Please sign in to comment.