summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubens Panfili <rubens.panfili@gmail.com>2021-07-17 13:20:19 +0200
committerRubens Panfili <rubens.panfili@gmail.com>2021-07-17 13:20:19 +0200
commit7e65e218b771625ab5d56fc5963d1f67e8bd42fd (patch)
tree4b9a3e7b0d637f690d69bfe6cf916a266be08d6c
parentb2e0a0e4023217cd031c6b5b40742282d7dbab60 (diff)
github action to publish Releases
-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