From 6d2a300a9a1b499743643341139f457ead46320d Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Mon, 6 Jun 2022 13:13:48 -0700 Subject: [PATCH] restrict GitHub Release to only 'latest' --- .github/workflows/release-desktop.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml index bc9d55e4ff..a97446f317 100644 --- a/.github/workflows/release-desktop.yml +++ b/.github/workflows/release-desktop.yml @@ -113,6 +113,7 @@ jobs: - name: Create release uses: ncipollo/release-action@95215a3cb6e6a1908b3c44e00b4fdb15548b1e09 # v2.8.5 + if: ${{ steps.release-channel.outputs.channel }} == "latest" env: PKG_VERSION: ${{ steps.version.outputs.version }} RELEASE_CHANNEL: ${{ steps.release-channel.outputs.channel }}