Skip to content

Commit

Permalink
add basic action
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel González Lopes <[email protected]>
  • Loading branch information
dgzlopes committed Sep 30, 2021
1 parent ec4312a commit e541fb4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: "release"

on:
release:
types:
- published

jobs:
build:
name: "Build"
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2

- uses: actions/setup-go@v2
with:
go-version: '1.16.7'
- run: go install go.k6.io/xk6/cmd/xk6@latest
- run: xk6 build --with github.com/grafana/xk6-client-prometheus-remote@latest
- name: Get the tag name
run: echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- run: mv k6 k6_${{ env.TAG }}_linux_amd64

0 comments on commit e541fb4

Please sign in to comment.