Skip to content

Commit

Permalink
fix(ci): invoking UEFI loader only on release build
Browse files Browse the repository at this point in the history
  • Loading branch information
WolverinDEV committed Nov 10, 2024
1 parent 7c8f595 commit 9878adc
Show file tree
Hide file tree
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
Expand Up @@ -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-krnel-driver/actions/artifacts/$env:DRIVER_ARTIFACT_ID/zip"
"driver_url" = "https://api.github.com/repos/Valthrun/valthrun-kernel-driver/actions/artifacts/$env:DRIVER_ARTIFACT_ID/zip"
"driver_version" = "$env:GITHUB_REF_NAME-$($env:GITHUB_SHA.Substring(0, 7))"
}
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
DRIVER_ARTIFACT_ID: ${{ steps.uefi-driver-upload.outputs.artifact-id }}
GITHUB_SHA: ${{ github.sha }}
GITHUB_REF_NAME: ${{ github.ref_name || 'unknown' }}
if: ${{ env.UEFI_MAPPER_GITHUB_TOKEN != '' }}
if: ${{ env.UEFI_MAPPER_GITHUB_TOKEN != '' }} && github.ref == 'ref/head/master'
run: ./.github/workflows/invoke-mapper.ps1

build-driver-interface:
Expand Down

0 comments on commit 9878adc

Please sign in to comment.