Skip to content

Update release.yml

Update release.yml #17

Workflow file for this run

## https://github.com/actions/download-artifact
name: Download Sarif
on:
workflow_call:
inputs:
runs-on:
default: ubuntu-latest
required: false
type: string
name:
default: Download Sarif
required: false
type: string
jobs:
satif:
name: ${{ inputs.name }}
runs-on: ${{ inputs.runs-on }}
steps:
- name: Download SARIF artifact
uses: actions/download-artifact@v2
with:
name: code-scanning-results
path: snyk.sarif
- name: Extract Sarif Data
id: extract-sarif

Check failure on line 29 in .github/workflows/sarif.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sarif.yml

Invalid workflow file

You have an error in your yaml syntax on line 29
run: echo "::set-output name=results::$(cat sarif-results/snyk.sarif)"