summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yaml
blob: e1befefa7b439f2726c7a08e30ec52c288ff2bb9 (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
29
30
---
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: 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 }}