From 7e65e218b771625ab5d56fc5963d1f67e8bd42fd Mon Sep 17 00:00:00 2001 From: Rubens Panfili Date: Sat, 17 Jul 2021 13:20:19 +0200 Subject: github action to publish Releases --- .github/workflows/release.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/release.yaml 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 -- cgit v1.2.3-70-g09d2