From 17db3ad1faadc58ee12c981919898865471a8e93 Mon Sep 17 00:00:00 2001 From: everpcpc Date: Sun, 18 Feb 2024 17:00:05 +0800 Subject: [PATCH] chore(ci): add workflow for release --- .github/workflows/release.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..be7b056 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Release + +on: + push: + tags: + - 'v*' # Run workflow on version tags, e.g. v1.0.0. + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + # https://github.com/grafana/plugin-actions/blob/main/build-plugin/README.md + # https://grafana.com/developers/plugin-tools/publish-a-plugin/sign-a-plugin#generate-an-access-policy-token + - uses: grafana/plugin-actions/build-plugin@release + with: + policy_token: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }}