From cf3ea6fc9603c32740e8ba3e54493aae9b1a09aa Mon Sep 17 00:00:00 2001 From: wlaub Date: Sun, 6 Feb 2022 14:14:51 -0800 Subject: [PATCH] do this --- .github/actions/upload_plugin_lin/script.sh | 2 -- .github/workflows/buildRelease.yml | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/actions/upload_plugin_lin/script.sh b/.github/actions/upload_plugin_lin/script.sh index cf1d0c7..aa18476 100644 --- a/.github/actions/upload_plugin_lin/script.sh +++ b/.github/actions/upload_plugin_lin/script.sh @@ -12,8 +12,6 @@ curl -o release.json \ --request GET \ ${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/releases/${GITHUB_REF#"refs/"} -cat release.json - UPLOAD_URL=$(jq -r .upload_url release.json) ASSET_PATH=$(ls dist/*.vcvplugin) diff --git a/.github/workflows/buildRelease.yml b/.github/workflows/buildRelease.yml index 3107d0d..152b38a 100644 --- a/.github/workflows/buildRelease.yml +++ b/.github/workflows/buildRelease.yml @@ -1,6 +1,6 @@ on: - push: - branches: [main] + release: + types: [published] name: Release env: RACK_DIR: ${GITHUB_WORKSPACE}/Rack-SDK