Skip to content

Commit

Permalink
set working dir
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Lewis <ianlewis@google.com>
  • Loading branch information
ianlewis committed Nov 9, 2022
1 parent 315c857 commit c66aa7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/actions/generate-builder/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ runs:

COMPILE_BUILDER: "${{ inputs.compile-builder }}"
BUILDER_REF: "${{ inputs.ref }}"
BUILDER_DIR: "./__BUILDER_CHECKOUT_DIR__/${{ inputs.directory }}"
BUILDER_DIR: "${{ inputs.directory }}"
# Needed for the gh CLI used in builder-fetch.sh.
GH_TOKEN: "${{ inputs.token }}"
run: ./__BUILDER_CHECKOUT_DIR__/.github/actions/generate-builder/generate-builder.sh
working-directory: ./__BUILDER_CHECKOUT_DIR__
run: ./.github/actions/generate-builder/generate-builder.sh

- name: Compute sha256 of builder
uses: ./__BUILDER_CHECKOUT_DIR__/.github/actions/compute-sha256
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/generate-builder/generate-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if [[ "$COMPILE_BUILDER" == true ]]; then
else
echo "Fetching the builder with ref: $BUILDER_REF"

./__BUILDER_CHECKOUT_DIR__/.github/actions/generate-builder/builder-fetch.sh
./.github/actions/generate-builder/builder-fetch.sh
fi

chmod u+x "$BUILDER_RELEASE_BINARY"

0 comments on commit c66aa7b

Please sign in to comment.