Skip to content

Commit

Permalink
To be removed.
Browse files Browse the repository at this point in the history
Thanks microsoft.
  • Loading branch information
e3ndr committed Dec 4, 2024
1 parent 8ae7292 commit 0b036bc
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: ["main"]

permissions:
id-token: write
contents: read
jobs:
build_windows:
runs-on: windows-latest
Expand All @@ -30,6 +33,39 @@ jobs:
uses: joncloud/[email protected]
with:
script-file: "Installer.nsi"

- name: 🔐 Azure login
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: ✍️ Sign files with Trusted Signing
uses: azure/[email protected]
with:
# azure-username: ${{ secrets.AZURE_USERNAME }}
# azure-password: ${{ secrets.AZURE_PASSWORD }}
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: vscx-codesigning
certificate-profile-name: vscx-certificate-profile
files-folder: dist/Casterlabs-Caffeinated-Setup.exe
file-digest: SHA256
timestamp-rfc3161: http://timestamp.acs.microsoft.com
timestamp-digest: SHA256
exclude-environment-credential: true
exclude-workload-identity-credential: true
exclude-managed-identity-credential: true
exclude-shared-token-cache-credential: true
exclude-visual-studio-credential: true
exclude-visual-studio-code-credential: true
exclude-azure-cli-credential: false
exclude-azure-powershell-credential: true
exclude-azure-developer-cli-credential: true
exclude-interactive-browser-credential: true

- name: 🆙 Upload the Windows artifact (x86_64)
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 0b036bc

Please sign in to comment.