mirror of
https://github.com/Yvee1/hascard.git
synced 2024-11-25 20:33:34 +03:00
18 lines
474 B
YAML
18 lines
474 B
YAML
|
name: build
|
||
|
on: [push]
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: macos-latest
|
||
|
steps:
|
||
|
- name: Checkout repository
|
||
|
uses: actions/checkout@v2
|
||
|
- name: Install ghr
|
||
|
run: ./.github/scripts/install-ghr.sh
|
||
|
- name: Install stack
|
||
|
run: ./.github/scripts/install-stack.sh
|
||
|
- run: stack setup
|
||
|
- run: stack build
|
||
|
- run: stack test
|
||
|
- name: Attach binary to release, if this is a release
|
||
|
run: ./.github/scripts/attach-binary.sh
|