forked from fortify/gha-sample-workflows-eightball
-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (44 loc) · 1.09 KB
/
setup.yml
File metadata and controls
46 lines (44 loc) · 1.09 KB
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
name: setup.yml
on:
workflow_dispatch:
push:
branches: [master]
jobs:
setup-test:
if: true
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: windows-latest
- os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Setup fcli & sc-client
uses: fortify/github-action/setup@main
with:
sc-client: latest
fcli: v3
# env:
# FCLI_URL: ${{ matrix.fcli_url }}
- name: Verify fcli installation
if: always()
run: ls -laR ${RUNNER_TOOL_CACHE}/fcli ; ls -laR ${RUNNER_TOOL_CACHE}/sc-client
shell: bash
- name: Show env vars
if: always()
run: env
shell: bash
- name: Show fcli version
if: always()
run: fcli --version
shell: bash
- name: Show sc-client version
if: always()
run: scancentral --version
shell: bash
- name: Run sc-client through fcli
if: always()
run: fcli tool sc-client run -- --version
shell: bash