diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 98b62a0..32a605c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,9 +15,9 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: '18' + node-version: 18 + cache: yarn check-latest: true - cache: 'yarn' cache-dependency-path: yarn.lock - name: Setup Go environment @@ -55,13 +55,13 @@ jobs: - name: Warn missing Grafana access policy token run: | - echo Please generate a Grafana access policy token: https://grafana.com/docs/grafana/latest/developers/plugins/sign-a-plugin/#generate-a-token + echo Please generate a Grafana API key: https://grafana.com/docs/grafana/latest/developers/plugins/sign-a-plugin/#generate-an-api-key echo Once done please follow the instructions found here: https://github.com/${{github.repository}}/blob/main/README.md#using-github-actions-release-workflow if: ${{ env.GRAFANA_ACCESS_POLICY_TOKEN == '' }} - name: Sign plugin - run: yarn sign - if: ${{ env.GRAFANA_ACCESS_POLICY_TOKEN != '' }} + run: yarn run sign + if: ${{ env.GRAFANA_ACCESS_POLICY_TOKEN == '' }} - name: Get plugin metadata id: metadata