1
1
mirror of https://github.com/Yvee1/hascard.git synced 2024-11-22 04:33:06 +03:00

Try out Github Actions

This commit is contained in:
Steven van den Broek 2021-07-16 20:08:12 +02:00 committed by GitHub
parent 805c97e13c
commit 9049775a77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,17 @@
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