From cd1c8a5acc12d6a7294f81f15b587b516a31d058 Mon Sep 17 00:00:00 2001 From: Nadim El Boustani Date: Tue, 1 Sep 2020 17:01:30 +0200 Subject: [PATCH] chore(ci): add binary release --- .github/workflows/tag.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/tag.yml diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml new file mode 100644 index 00000000..05143f70 --- /dev/null +++ b/.github/workflows/tag.yml @@ -0,0 +1,24 @@ +--- +name: "Release a tag" +on: + push: + tags: + - v* +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.15 + - name: Create release + uses: goreleaser/goreleaser-action@v2 + with: + version: latest + args: release --rm-dist + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file