Skip to content

Add sample edge denylist support. Edge list is stored in shadow drive… #873

Add sample edge denylist support. Edge list is stored in shadow drive…

Add sample edge denylist support. Edge list is stored in shadow drive… #873

Workflow file for this run

on:
push:
branches:
- main
tags:
- "[0-9]+"
pull_request:
branches:
- main
name: ci
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install xorf-generator
uses: jaxxstorm/[email protected]
env:
## Allow install into PATH
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
repo: helium/xorf-generator
- name: Get descriptor path
id: set_descriptor
run: |
echo "::set-output name=descriptor_path::$(jq .report_prefix manifest.json)"
- name: Get serial
id: set_serial
run: |
echo "::set-output name=serial::$(jq .serial manifest.json)"
- name: Download descriptor
run: wget ${{steps.set_descriptor.outputs.descriptor_path}}descriptor.json
- name: Generate signing data
run: xorf-generator data generate --serial ${{steps.set_serial.outputs.serial}}
- name: Check manifest
run: xorf-generator manifest verify
- name: Check filter
run: xorf-generator filter generate
- name: Push Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
filter.bin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}