Skip to content

chore: Update workflow #46

chore: Update workflow

chore: Update workflow #46

Workflow file for this run

name: setup.yml
on:
workflow_dispatch:
push:
branches: [master]
jobs:
setup-test:
if: true
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
fcli_url: https://github.com/fortify/fcli/releases/download/dev_feat.ci-updates/fcli-linux.tgz
- os: windows-latest
fcli_url: https://github.com/fortify/fcli/releases/download/dev_feat.ci-updates/fcli-windows.zip
- os: macos-latest
fcli_url: https://github.com/fortify/fcli/releases/download/dev_feat.ci-updates/fcli-mac.tgz
runs-on: ${{ matrix.os }}
steps:
- name: Setup fcli & sc-client
uses: fortify/github-action/setup@feat/fcli-ci
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