Skip to content

Commit

Permalink
fix release (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
briangann authored Oct 18, 2023
1 parent ebf34a6 commit c3c50ac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c3c50ac

Please sign in to comment.