From 8bea99a9539ef77f309871b7a9b9c2598cc8283e Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 10 Sep 2020 14:35:13 +0200 Subject: [PATCH] ci: run on release publish and creation --- .github/workflows/release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f96887e2..8b8bd55e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: passbook-on-release on: release: - types: [published] + types: [published, created] jobs: # Build @@ -30,8 +30,10 @@ jobs: steps: - uses: actions/checkout@v1 - uses: actions/setup-go@v2 - version: "^1.15" - - run: | + with: + go-version: "^1.15" + - name: prepare go api client + run: | cd proxy go get -u github.com/go-swagger/go-swagger/cmd/swagger swagger generate client -f ../swagger.yaml -A passbook -t pkg/