[READ-ONLY] Mirror of https://github.com/andrioid/setup-pack. Github Action to setup pack for CNCF Buildpacks
0

Configure Feed

Select the types of activity you want to include in your feed.

JavaScript 98.9%
TypeScript 1.1%
21 1 2

Clone this repository

https://git.vm.fail/andri.dk/setup-pack https://git.vm.fail/did:plc:4aznls3e4tufx555tzg2nw5e
ssh://git@knot1.tangled.sh:2222/andri.dk/setup-pack ssh://git@knot1.tangled.sh:2222/did:plc:4aznls3e4tufx555tzg2nw5e

For self-hosted knots, clone URLs may differ based on your setup.


README.md

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.