Skip to content

Commit

Permalink
testing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Sep 12, 2024
1 parent 3d0a515 commit a11cc4d
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:
name: build-test-${{ matrix.os }}-electron-${{ matrix.electron }}
strategy:
matrix:
# os: [macos-latest, ubuntu-latest, windows-2019]
os: [macos-14, windows-2019]
electron: [31.6.0]
# os: [macos-14,macos-latest, ubuntu-latest, windows-2019]
os: [ windows-2019, macos-14, macos-latest, ubuntu-latest]
electron: [30.5.0, 31.6.0]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -64,10 +64,6 @@ jobs:
path: node_modules
key: ${{ matrix.os }}-${{ matrix.electron }}-${{ hashFiles('package-lock.json') }}

# - if: runner.os == 'Windows'
# name: Setup CSC for Windows
# uses: yoavain/Setup-CSC@v5

- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
Expand All @@ -76,13 +72,15 @@ jobs:
- name: Versions
run: node -v && npm -v && dotnet --version && node -p process.platform && node -p process.arch

- name: setup electorn version
run: |
sed -i -e 's/"electron": "=31.6.0"/"electron": "=${{ matrix.electron }}"/g' package.json
- name: npm install
run: npm i --no-audit
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1

- name: electron install
run: npm i electron@${{ matrix.electron }}

- if: runner.os == 'Windows'
name: Run .NET 4.5 tests
Expand Down

0 comments on commit a11cc4d

Please sign in to comment.