Skip to content

Commit

Permalink
bare bones
Browse files Browse the repository at this point in the history
  • Loading branch information
ldennington committed Oct 27, 2023
1 parent 801c2cf commit 32f2929
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/bare-bones.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: bare-bones

on: push

jobs:
# Build and sign Windows installers & upload artifacts
windows_pkg:
runs-on: windows-2019
environment: release
steps:
- name: Log into Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Install Azure Code Signing Module
shell: pwsh
run: |
Install-Module -Name AzureCodeSigning -RequiredVersion 0.2.24 -Force `
-Repository PSGallery
- name: Configure and Run Azure Code Signing
shell: bash
run: |
git config alias.signtool '!f() { printf "%s\n" "$@" >./catalog && powershell -command "Invoke-AzureCodeSigning -Endpoint https://wus2.codesigning.azure.net/ -CodeSigningAccountName git-fundamentals-signing -CertificateProfileName git-fundamentals-windows-signing -FilesCatalog ./catalog -FileDigest SHA256 -TimestampRfc3161 http://timestamp.acs.microsoft.com -TimestampDigest SHA256"; };f'
# Install Azure Code Signing Module
/c/Windows/System32/WindowsPowerShell/v1.0/powershell -command "Install-Module -Name AzureCodeSigning -RequiredVersion 0.2.24 -Force -Repository PSGallery"
mv /mingw64/bin/git.exe .
git signtool git.exe

0 comments on commit 32f2929

Please sign in to comment.