From d9c1e69248c8908100312fe0670e1a69c8900352 Mon Sep 17 00:00:00 2001 From: William Flores Date: Mon, 22 Jun 2020 00:51:50 -0700 Subject: [PATCH] build(ci): only build on created releases --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 78148b0..96e36ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,6 @@ -on: release +on: + release: + types: [created] name: Build Release jobs: publish: @@ -12,7 +14,7 @@ jobs: asset_name: crypto-sync-linux-amd64 - os: windows-latest artifact_name: crypto-sync.exe - asset_name: crypto-sync-windows-amd64 + asset_name: crypto-sync-windows-amd64.exe - os: macos-latest artifact_name: crypto-sync asset_name: crypto-sync-macos-amd64