Automation: Adds GitHub release action (#29194)

* Automation: Adds GitHub release action

* Updated wording

* minor update
This commit is contained in:
Torkel Ödegaard 2020-11-18 11:24:31 +01:00 committed by GitHub
parent 05fbc614bd
commit d2fb910912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 4 deletions

24
.github/workflows/github-release.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Create or update GitHub release
on:
workflow_dispatch:
inputs:
version:
required: true
description: Needs to match, exactly, the name of a milestone (NO v prefix)
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "grafana/grafana-github-actions"
path: ./actions
ref: main
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run github release action
uses: ./actions/github-release
with:
token: ${{secrets.GH_BOT_ACCESS_TOKEN}}
metricsWriteAPIKey: ${{secrets.GRAFANA_MISC_STATS_API_KEY}}

View File

@ -15,9 +15,6 @@ jobs:
repository: "grafana/grafana-github-actions"
path: ./actions
ref: main
- uses: actions/setup-node@v1
with:
node-version: '12'
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run update changelog