Skip to content

Commit

Permalink
Github action for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
thalesmg authored and happi committed Jan 29, 2022
1 parent d9965f0 commit 12b167c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---

name: Build
on:
pull_request:
push:
branchs:
- master
jobs:
build:
runs-on: ubuntu-latest
container: asciidoctor/docker-asciidoctor:latest

steps:
- name: Checkout
uses: actions/checkout@v2.4.0
- name: install tools
run: apk add git rsync erlang
- name: build
run: make
- name: release

if: ${{ github.ref == 'refs/heads/master' }}
uses: softprops/action-gh-release@v0.1.14
with:
tag_name: latest
files: |
beam-book.pdf
...

0 comments on commit 12b167c

Please sign in to comment.