From a658b6bb21feebe05baa94b74d44a4bb362b717f Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Thu, 15 Apr 2021 23:35:00 +0200 Subject: [PATCH] workflow --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..f90c8f3 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: Main + +on: + push: + tags: + - 'v*.*.*' + branches: + - rewrite + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + with: + go-version: '^1.16.3' + - name: Build + run: go run build/build.go + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: dist/* + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file