Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Om 191 #115

Merged
merged 6 commits into from
May 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/build_artefacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Create tar.gz artifacts of dashboards

on:
push:
tags:
- v*

permissions:
id-token: write
actions: write
contents: write

jobs:
tar_zipping_job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag

- name: Create tar files
env:
GH_TOKEN: ${{ github.token }}
TAG_NAME: "${{ steps.get-latest-tag.outputs.tag }}"
run: |
cd config/grafana
echo "Tar-zipping files"
VERSION=${GITHUB_REF_NAME#v}
tar czf aerospike-grafana-dashboards-$VERSION.tar.gz dashboards/*
echo
echo "Uploading release asset"
gh release upload "$TAG_NAME" "aerospike-grafana-dashboards-$VERSION.tar.gz"
Loading