From c72f0cefb7fe664eab8a3d3ba2073087189b9df1 Mon Sep 17 00:00:00 2001 From: Thasso Griebel Date: Thu, 5 Sep 2024 11:23:21 +0200 Subject: [PATCH] Added PR build action --- .github/workflows/build-pr.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/build-pr.yml diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml new file mode 100644 index 0000000..16efc7a --- /dev/null +++ b/.github/workflows/build-pr.yml @@ -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/