From 53df6990203ece5d69a4367cf593cf053e48a7d7 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Wed, 21 Aug 2019 13:53:29 +0900 Subject: release automation by github actions Signed-off-by: FUJITA Tomonori --- .github/workflows/release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/release.yml (limited to '.github') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..739f20af --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +name: release + +on: + create: + tags: + - v*.*.* + +jobs: + build: + runs-on: ubuntu-16.04 + + steps: + - name: checking out + uses: actions/checkout@master + + - name: releasing + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + wget https://github.com/goreleaser/goreleaser/releases/download/v0.108.0/goreleaser_amd64.deb + sudo dpkg -i goreleaser_amd64.deb + rm goreleaser_amd64.deb + cd /home/runner/work/gobgp/gobgp && goreleaser release -- cgit v1.2.3