Skip to content

Commit

Permalink
Merge pull request #36 from rxdi/32-binaries-release
Browse files Browse the repository at this point in the history
feat(binaries): added a github action to release binaries based on tags
  • Loading branch information
Stradivario authored Dec 11, 2021
2 parents 236ec71 + 5620385 commit ef1ab5c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release binaries

on: push

jobs:
build:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install
run: npm install
- name: Install Gapi CLI
run: npm i -g @gapi/cli @zeit/ncc@0.22.1 pkg@4.4.7
- name: Build
run: npm run build-binary
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
binaries/**
LICENSE
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint --if-present
- run: npm test
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [0.7.61](https://github.com/rxdi/firelink/compare/v0.7.59...v0.7.61) (2021-12-09)
## [0.7.62](https://github.com/rxdi/firelink/compare/v0.7.59...v0.7.62) (2021-12-09)


### Bug Fixes
Expand Down

0 comments on commit ef1ab5c

Please sign in to comment.