Skip to content

Commit

Permalink
Fix build-test Herald action to use checked in dist files (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyamonide authored Oct 18, 2020
1 parent 6fb5fdd commit ef99a63
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/use_action_for_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,18 @@ jobs:
- uses: actions/checkout@master
- name: Install packages
run: npm install
- name: Build binary
- name: Dry run Herald rules with checked in dist/
id: herald-dist
uses: ./
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
rulesLocation: herald_rules_for_build/*.json
DEBUG: '*'
dryRun: true
- name: Rebuild binary
run: npm run build
- name: apply herald rules
id: herald
- name: Dry run Herald rules with rebuilt dist/
id: herald-rebuilt
uses: ./
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit ef99a63

Please sign in to comment.