From 6cc9416ae5bb93272d9769cfbd37bb51648691c6 Mon Sep 17 00:00:00 2001 From: Benjamin Wang Date: Mon, 11 Jul 2022 16:37:48 +0800 Subject: [PATCH] backport release test to 3.4 Signed-off-by: Benjamin Wang --- .github/workflows/release.yaml | 24 ++++++++++++++++++++++++ scripts/release.sh | 6 ++++-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 000000000..5f2b57799 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,24 @@ +name: Release +on: [push, pull_request] +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + with: + go-version: "1.16.15" + - run: | + git config --global user.email "github-action@etcd.io" + git config --global user.name "Github Action" + gpg --batch --gen-key <