-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (40 loc) · 965 Bytes
/
aux.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
name: API-test
on:
push:
branches:
- main
permissions:
id-token: write
contents: read
deployments: write
jobs:
API-test-prep:
runs-on: ubuntu-latest
strategy:
matrix:
supportedVersion: ["test1", "test2"]
outputs:
test: ${{ steps.outputTest.outputs.test}}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Reading property files
continue-on-error: true
id: json_props
uses: zoexx/[email protected]
with:
file_path: "./test.json"
- name: testing outputs
id: outputTest
run: |
echo "test=${{matrix.supportedVersion}}" >> $GITHUB_OUTPUT
API-test:
needs: API-test-prep
runs-on: ubuntu-latest
strategy:
matrix:
supportedVersion: ["test1", "test2"]
steps:
- name: test
run: |
echo "test: ${{needs.API-test-prep.outputs.test}}"