/setup-pack

Github Action to setup pack for CNCF Buildpacks

Primary LanguageTypeScript

setup-pack

Installs and caches the pack tool from CNCF Buildpacks.

Usage

# in your job:
name: MY GREAT JOB
on:
  push:
    branches:
      - '*'
jobs:
  pack-example:
    name: Pack example!
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - uses: andrioid/setup-pack@latest
    - name: Show folks how to run Pack:
      run: |
        pack --help

Local Development

Change the index.ts and remember to run npm run build afterwards. I use esbuild to bundle the source-code.

Credits

  • setup-yq inspired me to write this. His action is very lean and mean.