-
-
Notifications
You must be signed in to change notification settings - Fork 21
50 lines (42 loc) · 1.05 KB
/
webinstall.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Webinstall
on:
push:
branches:
- master
paths:
- webinstall/**
pull_request:
branches:
- master
paths:
- webinstall/**
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Install Eask (Unix)
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
run: |
chmod -R 777 ./
./webinstall/install.sh
- name: Install Eask (Windows)
if: matrix.os == 'windows-latest'
run: ./webinstall/install.bat
- name: Testing... (Unix)
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
run: |
~/.local/bin/eask --version
- name: Testing... (Windows)
if: matrix.os == 'windows-latest'
shell: cmd
run: |
%USERPROFILE%/.local/bin/eask.exe --version