mirror of
https://github.com/dagger/dagger-for-github.git
synced 2026-01-01 05:00:21 +11:00
feat: allow specifying nightly builds (#151)
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
parent
6b6e9832f7
commit
49dd901156
2 changed files with 8 additions and 1 deletions
|
|
@ -5,6 +5,10 @@ inputs:
|
|||
description: "Dagger Version"
|
||||
required: false
|
||||
default: "0.13.5"
|
||||
commit:
|
||||
description: "Dagger Dev Commit"
|
||||
required: false
|
||||
default: ""
|
||||
dagger-flags:
|
||||
description: "Dagger CLI Flags"
|
||||
required: false
|
||||
|
|
@ -55,9 +59,11 @@ runs:
|
|||
VERSION=
|
||||
fi
|
||||
|
||||
COMMIT=${{ inputs.commit }}
|
||||
|
||||
# The install.sh script creates path ${prefix_dir}/bin
|
||||
curl -fsS https://dl.dagger.io/dagger/install.sh \
|
||||
| BIN_DIR=${prefix_dir}/bin DAGGER_VERSION=$VERSION sh
|
||||
| BIN_DIR=${prefix_dir}/bin DAGGER_VERSION="$VERSION" DAGGER_COMMIT="$COMMIT" sh
|
||||
|
||||
- shell: bash
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue