Skip to content

Commit

Permalink
simplify workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Apr 21, 2024
1 parent 9321a42 commit cca6406
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,46 +21,17 @@ on:

jobs:
default:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: ['lts/*', '*']
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 10

- name: Install NSIS (macOS)
if: matrix.os == 'macos-latest'
run: |
brew update
brew install nsis
- name: Install NSIS (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get -y update
sudo apt-get -y install nsis
- name: Install NSIS (Windows)
if: matrix.os == 'windows-latest'
shell: pwsh
run: |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
iwr -useb get.scoop.sh -outfile 'install.ps1'
.\install.ps1 -RunAsAdmin
scoop bucket add nsis https://github.com/NSIS-Dev/scoop-nsis
scoop install nsis/nsis
- name: Print NSIS version
run: makensis -VERSION

- name: Print NSIS header info
run: makensis -HDRINFO

- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: ${{ matrix.node-version }}
Expand Down

0 comments on commit cca6406

Please sign in to comment.