Skip to content

Commit

Permalink
metanorma/homebrew-metanorma#57 upload packed binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP committed Sep 6, 2020
1 parent fec7844 commit a20e405
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,13 @@ jobs:
- name: Copy release binary
run: mv build/metanorma metanorma-linux-x64
- name: Set release binary permissions
run: chmod a+x metanorma-linux-x64
run: |
chmod a+x metanorma-linux-x64
tar -czvf metanorma-linux-x64.tgz metanorma-linux-x64
- name: Release binary
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: metanorma-linux-x64
files: metanorma-linux-x64.tgz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 4 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@ jobs:
- name: Copy release binary
run: cp build/metanorma metanorma-darwin-x64
- name: Set release binary permissions
run: chmod a+x metanorma-darwin-x64
run: |
chmod a+x metanorma-darwin-x64
tar -czvf metanorma-darwin-x64.tgz metanorma-darwin-x64
- name: Release binary
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: metanorma-darwin-x64
files: metanorma-darwin-x64.tgz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a20e405

Please sign in to comment.