-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (42 loc) · 1.06 KB
/
test-action.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
name: test-gptscript-action
on:
pull_request:
push:
branches:
- 'main'
jobs:
test_gptscript_action:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
permissions: {}
name: Install gptscript and test presence in path
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.0.0
- name: Install gptscript
uses: ./
- name: Check install!
run: gptscript --version
shell: bash
test_gptscript_action_custom:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
permissions: {}
name: Install Custom gptscript and test presence in path
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.0.0
- name: Install gptscript
uses: ./
with:
gptscript-release: '0.1.0'
- name: Check install!
run: gptscript --version