summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
new file mode 100644
index 0000000..d308444
--- /dev/null
+++ b/.github/workflows/release.yaml
@@ -0,0 +1,30 @@
+---
+name: "Dactyl keyboard"
+
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ timeout-minutes: 10
+ name: "Build artifacts and publish Release"
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - uses: satackey/action-docker-layer-caching@v0.0.11
+ continue-on-error: true
+ - name: Clean up
+ run: rm -r things/*
+ - name: Build
+ run: make build
+ - name: Release
+ uses: softprops/action-gh-release@v1
+ with:
+ draft: false
+ files: things/*
+ tag_name: v${{ github.run_number }}
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file