From ba0bf3d3a214c7857abc14a149c8011693b1c944 Mon Sep 17 00:00:00 2001 From: Yan Zarytovsky Date: Wed, 13 Mar 2024 10:39:08 +0300 Subject: [PATCH] Add build-all workflow Signed-off-by: Yan Zarytovsky --- .github/workflows/build-all.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build-all.yaml diff --git a/.github/workflows/build-all.yaml b/.github/workflows/build-all.yaml new file mode 100644 index 0000000..4804437 --- /dev/null +++ b/.github/workflows/build-all.yaml @@ -0,0 +1,29 @@ +name: build + +on: push + +permissions: + contents: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: '1.22' + - name: Setup Task + uses: arduino/setup-task@v2 + - name: Build all + run: task build:dist:all + - name: Release + uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: | + README.md + LICENSE + dist/**/*