Skip to content

allegro-actions/add-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

allegro-actions/add-runtime

This action downloads popular runtime binaries for your packaging process.

Basic usage:

steps:
  - uses: allegro-actions/add-runtime/node@v1
    with:
      version: 16.0.0
      os: linux-x64
      target: runtime
steps:
  - uses: allegro-actions/add-runtime/deno@v1
    with:
      version: 1.11.5
      os: linux-x64
      target: runtime

Supported operating systems

  • linux 64bit

Feel free to add more!

Supported runtimes

  • nodejs
  • deno

Feel free to add more!

Use cases

When you're combining your sourcecode with runtime binaries to be later executed in a runner:

steps:
  - uses: actions/checkout@v4

  - name: download node to "runtime" directory
    uses: allegro-actions/add-runtime/node@v1
    with:
      version: 16.0.0
      os: linux-x64
      target: runtime

  - name: package app with runtime and create an artifact
    uses: allegro-actions/artifactory-publish@v1
    with:
      host: company.artifactory.allegro
      username: ${{ secrets.ARTIFACTORY_USERNAME }}
      password: ${{ secrets.ARTIFACTORY_PASSWORD }}
      name: opbox-web
      group: pl.allegro.opbox
      buildDir: ./build-web
      version: 2.0.0

Then the application can be run started using your own runtime: ./runtime/node index.js

About

This action downloads popular runtime binaries for your packaging process.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •