Skip to content

Commit 7e65e21

Browse files
committed
github action to publish Releases
1 parent b2e0a0e commit 7e65e21

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/release.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: "Dactyl keyboard"
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 10
13+
name: "Build artifacts and publish Release"
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
- uses: satackey/[email protected]
18+
continue-on-error: true
19+
- name: Clean up
20+
run: rm -r things/*
21+
- name: Build
22+
run: make build
23+
- name: Release
24+
uses: softprops/action-gh-release@v1
25+
with:
26+
draft: false
27+
files: things/*
28+
tag_name: v${{ github.run_number }}
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)