From ccd8200c895ede0d795b0310375d1816d18a1580 Mon Sep 17 00:00:00 2001 From: Silvio Kunaschk Date: Mon, 7 Nov 2022 12:18:03 +0100 Subject: [PATCH] fix env-vars action variables --- .github/workflows/build-plugin.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-plugin.yml b/.github/workflows/build-plugin.yml index 141eb7f..538926b 100644 --- a/.github/workflows/build-plugin.yml +++ b/.github/workflows/build-plugin.yml @@ -101,8 +101,8 @@ jobs: - name: Check if plugin version matches tag run: | pluginversion=`jq -r '.version' plugin.json` - if [ "v$pluginversion" != "${{ CI_REF_NAME }}" ]; then - echo "Plugin version from plugin.json 'v$pluginversion' doesn't match with tag version '${{ CI_REF_NAME }}'" + if [ "v$pluginversion" != "${{ env.CI_REF_NAME }}" ]; then + echo "Plugin version from plugin.json 'v$pluginversion' doesn't match with tag version '${{ env.CI_REF_NAME }}'" exit 1 fi - name: Create Release @@ -113,7 +113,7 @@ jobs: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} body: | - ${{ CI_REPOSITORY_NAME }} VCV Rack Plugin ${{ CI_REF_NAME }} + ${{ env.CI_REPOSITORY_NAME }} VCV Rack Plugin ${{ env.CI_REF_NAME }} draft: false prerelease: false - uses: actions/download-artifact@v2