wip
This commit is contained in:
commit
42e77bd0eb
33 changed files with 1657 additions and 0 deletions
39
module/checkout/action.yml
Normal file
39
module/checkout/action.yml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# SPDX-License-Identifier: EUPL-1.2
|
||||
name: "Checkout"
|
||||
description: "Checkout a Git repository at a particular version"
|
||||
author: "Louis Seubert"
|
||||
inputs:
|
||||
repository:
|
||||
required: false
|
||||
description: >
|
||||
The path to the repository to checkout. Must be accessible with the
|
||||
pipeline token or publicly. Can be either an HTTPS or SSH URL.
|
||||
default: "${{ github.server_url }}/${{ github.repository }}.git"
|
||||
path:
|
||||
required: false
|
||||
description: >
|
||||
The directory to checkout the repository into. If the directory does not
|
||||
exist, it will be created.
|
||||
default: "${{ github.workspace }}"
|
||||
ref:
|
||||
required: false
|
||||
description: >
|
||||
The branch, tag or SHA to checkout. When checking out the repository that
|
||||
triggered a workflow, this defaults to the reference or SHA for that
|
||||
event. Otherwise, uses the default branch.
|
||||
default: "${{ github.ref || github.sha }}"
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'docker://code.geekeey.de/actions/core:1.0.0'
|
||||
args:
|
||||
- '--server'
|
||||
- '${{ context.server_url }}'
|
||||
- '--token'
|
||||
- '${{ context.token }}'
|
||||
- 'checkout'
|
||||
- '--repository'
|
||||
- '${{ inputs.repository }}'
|
||||
- '--path'
|
||||
- '${{ inputs.path }}'
|
||||
- '--ref'
|
||||
- '${{ inputs.ref }}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue