Skip to content

Commit

Permalink
Changed compile build: add compiled binary execute permissions, retur…
Browse files Browse the repository at this point in the history
…ned push trigger build
  • Loading branch information
w00lf committed Oct 6, 2019
1 parent 6de3262 commit 9cdcd6f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: compile

# Build only on tag push
on:
push:
tags:
- 'v*.*.*'
# on: [pull_request]
# Removed pull request trigger - causes to 2 heavy simultaneously jobs to execute
on: [push]

jobs:
build_osx:
Expand All @@ -27,8 +23,11 @@ jobs:
run: ./build/metanorma --type iso -x html ./sources/iso/iso-rice-en.adoc
- name: Copy release binary
run: cp build/metanorma metanorma-darwin-x64
- name: Set release binary permissions
run: chmod a+x metanorma-darwin-x64
- name: Release binary
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: metanorma-darwin-x64
env:
Expand Down

0 comments on commit 9cdcd6f

Please sign in to comment.