Skip to content

Commit

Permalink
Change GitHub Actions to store pgt binary as an artifact
Browse files Browse the repository at this point in the history
dkubb committed Nov 9, 2023
1 parent 4daf5de commit 681b705
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -82,6 +82,13 @@ jobs:
run: ./stack build --fast --test --no-run-tests --copy-bins --flag pgt:build-executable ${{ matrix.project }}
- name: Run tests
run: ./stack build --fast --test ${{ matrix.project }}
- name: Add pgt binary artifact
if: matrix.project == 'pgt'
uses: actions/upload-artifact@v3
with:
name: pgt-linux-x86-64
path: /home/runner/.local/bin/pgt
if-no-files-found: error
all-checks:
runs-on: ubuntu-latest
name: All Checks Pass

0 comments on commit 681b705

Please sign in to comment.