Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 843 Bytes

File metadata and controls

52 lines (37 loc) · 843 Bytes

telegram-action

name: name
author: author
description: description
runs:
  using: node16
  main: invoke-binary.js
function chooseBinary() {
    // ...
    if (platform === 'linux' && arch === 'x64') {
        return `main-linux-amd64-${VERSION}`
    }
    // ...
}

const binary = chooseBinary()
const mainScript = `${__dirname}/${binary}`
const spawnSyncReturns = childProcess.spawnSync(mainScript, { stdio: 'inherit' })
---
name: My action
author: My name
description: My description

runs:
  using: docker
  image: Dockerfile





---
steps:
- name: My action
  uses: docker://themakers/telegram-action:latest