Skip to content

WIP: publish kentik agent package #4

WIP: publish kentik agent package

WIP: publish kentik agent package #4

Workflow file for this run

name: publish
on:
workflow_dispatch:
push:
branches: publish-kentik-package
jobs:
package:
runs-on: ubuntu-latest
strategy:
matrix:
target:
- x86_64-unknown-linux-musl
- aarch64-unknown-linux-musl
- armv7-unknown-linux-musleabihf
steps:
- run: |
touch kprobe-${{ matrix.target }}
- uses: actions/github-script@v7
with:
script: |
const script = require('./package.mjs')
await script({github, context, core})
env:
TARGET: ${{ matrix.target }}
VERSION: v2.5.0-rc1
id: package
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.package.outputs.bundle }}
path: ${{ steps.package.outputs.bundle }}
# publish:
# runs-on: ubuntu-latest
# continue-on-error: true
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# # - uses: actions/create-github-app-token@v1
# # id: token
# # with:
# # app-id: ${{ vars.KENTIK_MACHINERY_APP_ID }}
# # private-key: ${{ secrets.KENTIK_MACHINERY_PRIVATE_KEY }}
# # owner: ${{ github.repository_owner }}