Skip to content

Commit

Permalink
fix(ci): fixing UEFI mapper workflow invoke
Browse files Browse the repository at this point in the history
WolverinDEV committed Nov 10, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent 8322621 commit 5d2344b
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/invoke-mapper.ps1
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ $Payload = @{
"event_type" = "driver_updated"
"client_payload" = @{
"driver_authorization" = "$env:DRIVER_GITHUB_TOKEN"
"driver_url" = "https://api.github.com/repos/Valthrun/valthrun-driver/actions/artifacts/$env:DRIVER_ARTIFACT_ID/zip"
"driver_url" = "$env:DRIVER_ARTIFACT_URL"
"driver_version" = "$env:GITHUB_REF_NAME-$($env:GITHUB_SHA.Substring(0, 7))"
}
}
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -95,7 +95,7 @@ jobs:
env:
UEFI_MAPPER_GITHUB_TOKEN: ${{ secrets.UEFI_MAPPER_GITHUB_TOKEN }}
DRIVER_GITHUB_TOKEN: ${{ secrets.DRIVER_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
DRIVER_ARTIFACT_ID: ${{ steps.uefi-driver-upload.outputs.artifact-id }}
DRIVER_ARTIFACT_URL: ${{ steps.uefi-driver-upload.outputs.artifact-url }}
GITHUB_SHA: ${{ github.sha }}
GITHUB_REF_NAME: ${{ github.ref_name || 'unknown' }}
if: ${{ env.UEFI_MAPPER_GITHUB_TOKEN != '' }}

0 comments on commit 5d2344b

Please sign in to comment.