Skip to content

Commit

Permalink
feat: Allow touchstone package to be installed from custom source. (#140
Browse files Browse the repository at this point in the history
)

* Allow touchstone package to be installed from custom source.

Instead of allowing the user to select a particular branch of the
`lorenzwalthert/touchstone` repository, allow an arbitrary package to be
used instead. This gives greater flexibility for development in forks of
the repository.
  • Loading branch information
plietar authored Oct 7, 2024
1 parent 7ce2cd7 commit 459a6ce
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions actions/receive/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ inputs:
description: 'Integer to use as cache version. Increment to use new cache.'
required: true
default: 1
touchstone_package:
description: 'Which package of {touchstone} should be used. Mainly for debugging.'
required: true
default: 'github::lorenzwalthert/touchstone'
touchstone_ref:
description: 'Which branch or tag of {touchstone} should be used. Mainly for debugging.'
description: 'Which branch or tag of {touchstone} should be used. This will be appended to the touchstone_package option. Mainly for debugging.'
required: true
default: '@v1'
extra-packages:
Expand Down Expand Up @@ -106,7 +110,7 @@ runs:
any::dplyr
any::gert
any::glue
github::lorenzwalthert/touchstone${{ inputs.touchstone_ref}}
${{ inputs.touchstone_package }}${{ inputs.touchstone_ref }}
${{ inputs.extra-packages }}
- name: Remove global installation
run: |
Expand Down

0 comments on commit 459a6ce

Please sign in to comment.