Skip to content

Commit

Permalink
updating github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Mar 16, 2024
1 parent 92dcaed commit a179ec1
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ jobs:
sudo pkgutil --forget com.xamarin.mono-MDK.pkg
sudo rm /etc/paths.d/mono-commands
- if: runner.os == 'Windows'
name: testing variables
run: |
echo "EDGE_USE_CORECLR=1" | Out-File -FilePath $env:GITHUB_ENV -Append
echo "${{ env.EDGE_USE_CORECLR }}"
echo "EDGE_USE_CORECLR=" | Out-File -FilePath $env:GITHUB_ENV -Append
echo "${{ env.EDGE_USE_CORECLR }}"
- if: ${{ (runner.os == 'Linux') || (runner.os == 'macOS') }}
name: Run tests
run: echo condition

- if: runner.os == 'Windows'
name: Install Windows dependencies
run: npm i
Expand All @@ -53,10 +65,14 @@ jobs:
run: |
npm test
echo "EDGE_USE_CORECLR=1" | Out-File -FilePath $env:GITHUB_ENV -Append
echo "${{ env.EDGE_USE_CORECLR }}"
npm test
- if: runner.os == 'Linux'
name: Run Linux tests
run: EDGE_USE_CORECLR=1 npm test
- if: runner.os == 'macOS'
name: Run macOS tests
# - if: runner.os == 'Linux'
# name: Run Linux tests
# run: EDGE_USE_CORECLR=1 npm test
# - if: runner.os == 'macOS'
# name: Run macOS tests
# run: EDGE_USE_CORECLR=1 npm test
- if: ${{ (runner.os == 'Linux') || (runner.os == 'macOS') }}
name: Run tests
run: EDGE_USE_CORECLR=1 npm test

0 comments on commit a179ec1

Please sign in to comment.