Skip to content

Commit

Permalink
Setup WSL using action
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Sep 23, 2024
1 parent 21dddbe commit edb4d91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: Vampire/setup-wsl@v3
- name: Run Libre (5)
uses: ./
with:
Expand Down
8 changes: 0 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,6 @@ runs:
scm: git
src: https://github.com/EA31337/ansible-role-mt-runner.git
version: dev
- if: runner.os == 'Windows'
name: Ensures WSL is installed (Windows only)
run: |
# Install WSL if not already installed.
wsl --install -d Ubuntu-20.04
# Wait for WSL to fully install.
Start-Sleep -s 20
shell: pwsh
- name: Runs playbook
uses: dawidd6/action-ansible-playbook@v2
with:
Expand Down

0 comments on commit edb4d91

Please sign in to comment.