Skip to content

Commit

Permalink
fixing availability of python for the task
Browse files Browse the repository at this point in the history
  • Loading branch information
mheese committed Sep 11, 2023
1 parent 0f6cd40 commit a075c54
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ jobs:
ORAS_VERSION: "1.0.0"
ORAS_ARTIFACT_TAG: ${{ github.event.inputs.environment || 'test' }}
steps:
- name: Ensure python is installed
run: |
sudo apt-get install -y python3
- name: Install sbsign tool
run: |
sudo apt-get update
Expand Down Expand Up @@ -176,7 +179,7 @@ jobs:
echo "${{ vars.SB_SIGNING_CERT }}" > sb-signing-cert.pem
- name: Prepare PKCS11 Key URI
run: |
PKCS11_KEY_URI=$( python -c 'import os; print(os.path.expandvars("${{ vars.PKCS11_KEY_URI }}"))' )
PKCS11_KEY_URI=$( python3 -c 'import os; print(os.path.expandvars("${{ vars.PKCS11_KEY_URI }}"))' )
echo "::add-mask::$PKCS11_KEY_URI"
echo "PKCS11_KEY_URI=$PKCS11_KEY_URI" >> $GITHUB_ENV
- name: Download onie-grubx64.efi from build job
Expand Down

0 comments on commit a075c54

Please sign in to comment.