Skip to content

Commit 1bda434

Browse files
committed
Automate github release binary
1 parent 6786cef commit 1bda434

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
# on:
2-
# release:
3-
# types: [created]
4-
51
on: [push]
62

7-
name: ARMv7 build
3+
name: Remarkable Build
84

95
jobs:
10-
linux_arm7:
6+
remarkable_build:
117
name: Linux ARMv7
128
runs-on: ubuntu-latest
139
steps:
@@ -21,4 +17,10 @@ jobs:
2117
with:
2218
use-cross: true
2319
command: build
24-
args: --target armv7-unknown-linux-gnueabihf
20+
args: --target armv7-unknown-linux-gnueabihf --release
21+
- name: Release
22+
uses: softprops/action-gh-release@v2
23+
if: startsWith(github.ref, 'refs/tags/')
24+
with:
25+
files: |
26+
target/armv7-unknown-linux-gnueabihf/release/ghostwriter

0 commit comments

Comments
 (0)