Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
adityasingh-anyline committed Apr 17, 2024
1 parent 2c49a14 commit a2681c7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Set up environment variable
run: echo "GRAFANA_ACCESS_POLICY_TOKEN=${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }}" >> $GITHUB_ENV
run: |
echo "GRAFANA_ACCESS_POLICY_TOKEN=${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }}" >> $GITHUB_ENV
mkdir dist
cp src/plugin.json dist/plugin.json
npx @grafana/sign-plugin@latest
- name: Verify secret
run: echo "First few characters of the token is ${GRAFANA_ACCESS_POLICY_TOKEN:0:4}"
- uses: grafana/plugin-actions/build-plugin@release
with:
grafana_token: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }}

0 comments on commit a2681c7

Please sign in to comment.