summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yaml
blob: 2b7e6e8ad501a6047d40f135ac5b66607ae4a919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
name: "Dactyl keyboard"

on:
  push:
    branches:
      - master

jobs:
  build:
    runs-on: ubuntu-latest
    timeout-minutes: 180
    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: 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 }}