Skip to content

Fix: slurm freememory unmarshaling when getting stats from slurm #5

Fix: slurm freememory unmarshaling when getting stats from slurm

Fix: slurm freememory unmarshaling when getting stats from slurm #5

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-22.04
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Setup the Go cache
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: |
make build
(cd bin && tar -zcvf hpk-kubelet_${{ github.ref_name }}_linux_amd64.tar.gz hpk-kubelet)
- name: Create release
uses: actions/create-release@v1
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: false
prerelease: false
release_name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
- name: upload linux artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bin/hpk-kubelet_${{ github.ref_name }}_linux_amd64.tar.gz
asset_name: hpk-kubelet_${{ github.ref_name }}_linux_amd64.tar.gz
asset_content_type: application/gzip