Skip to content

Commit

Permalink
Added PR build action
Browse files Browse the repository at this point in the history
  • Loading branch information
thasso committed Sep 5, 2024
1 parent 7a70fe5 commit c72f0ce
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build Pull Request

on:
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/dash-industry-forum/dashif-specs:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}

steps:
- uses: actions/checkout@v4
- name: Build
env:
# Reset OPTS to empty to make sure we are not using
# interactive mode in CI
OPTS:
run: make -f /tools/Makefile spec SRC=Cpix.bs.md NAME=cpix

- name: Archive
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/

0 comments on commit c72f0ce

Please sign in to comment.