-
Notifications
You must be signed in to change notification settings - Fork 224
42 lines (35 loc) · 929 Bytes
/
ci.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
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: Check manifest
run: xorf-generator manifest verify -i denylist.csv
- name: Check filter
run: xorf-generator filter generate -i denylist.csv
- 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 }}