Skip to content

Commit

Permalink
Remove env vars that are no longer needed
Browse files Browse the repository at this point in the history
Signed-off-by: Ludvig Liljenberg <[email protected]>
  • Loading branch information
ludfjig committed Jan 23, 2025
1 parent a3eba60 commit f6dbbfd
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,19 +146,8 @@ runs:
- name: Set up env vars (Linux)
if: ${{ (runner.os == 'Linux') }}
run: |
set -x
if command -v dnf > /dev/null 2>&1; then
echo "Detected mariner / hyperv"
echo "HYPERV_SHOULD_BE_PRESENT=true" >> $GITHUB_ENV
echo "HYPERV_SHOULD_HAVE_STABLE_API=false" >> $GITHUB_ENV
ls -al /dev/mshv
whoami
else
echo "Detected Ubuntu / kvm"
echo "KVM_SHOULD_BE_PRESENT=true" >> $GITHUB_ENV
sudo ls -al /dev/kvm
sudo chgrp $(whoami) /dev/kvm
sudo ls -al /dev/kvm
if [ -e /dev/kvm ]; then
sudo adduser $(whoami) kvm
fi
echo "RUST_BACKTRACE=full" >> $GITHUB_ENV
shell: bash
Expand Down

0 comments on commit f6dbbfd

Please sign in to comment.