pantry/.github/actions/bottle/action.yml

38 lines
947 B
YAML
Raw Normal View History

2023-02-24 23:50:10 +03:00
name: tea/pantry/bottle
description: internal tea.xyz specific at this time
inputs:
gpg-key-id:
description: gpg key id
2023-02-24 23:50:10 +03:00
required: true
gpg-key-passphrase:
description: gpg key passphrase
2023-02-24 23:50:10 +03:00
required: true
built:
description: packages to bottle
2023-02-24 23:50:10 +03:00
required: true
compression:
description: compression to use (gz or xz)
2023-02-24 23:50:10 +03:00
required: true
outputs:
bottles:
description: bottle files
value: ${{ steps.bottle.outputs.bottles }}
checksums:
description: checksum files
value: ${{ steps.bottle.outputs.checksums }}
signatures:
description: signature files
value: ${{ steps.bottle.outputs.signatures }}
2023-02-24 23:50:10 +03:00
runs:
using: composite
steps:
- run: ${{ github.action_path }}/bottle.ts ${{ inputs.built }}
id: bottle
2023-02-24 23:50:10 +03:00
shell: sh
env:
COMPRESSION: ${{ inputs.compression }}
GPG_KEY_ID: ${{ inputs.gpg-key-id }}
GPG_PASSPHRASE: ${{ inputs.gpg-passphrase }}