Skip to content

Commit

Permalink
Merge branch 'refactor_default_action' of github.com:localstack/setup…
Browse files Browse the repository at this point in the history
…-localstack into refactor_default_action
  • Loading branch information
lakkeger committed May 17, 2024
2 parents 0f2479b + 4b05efe commit 9b85434
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ inputs:
runs:
using: "composite"
steps:
- run: echo "$(ls -d ./../../_actions/LocalStack/setup-localstack/* | grep -v completed)"
shell: bash

- run: echo "action-root=$(ls -d ./../../_actions/LocalStack/setup-localstack/* | grep -v completed)" >> $GITHUB_ENV
shell: bash

Expand Down
12 changes: 9 additions & 3 deletions preview/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,18 @@ inputs:
runs:
using: composite
steps:
- run: echo "action-root=$(ls -d ./../../_actions/LocalStack/setup-localstack/* | grep -v completed)" >> $GITHUB_ENV
shell: bash

- name: Initial PR comment
# TODO: potentially replace with Action version number over time
uses: LocalStack/setup-localstack/prepare@main
if: inputs.github-token
uses: jenseng/dynamic-uses@v1
with:
github-token: ${{ inputs.github-token }}
uses: ${{ env.action-root }}/prepare
with: |-
{
"github-token": "${{ inputs.github-token }}"
}
- name: Download PR artifact
uses: actions/download-artifact@v3
Expand Down

0 comments on commit 9b85434

Please sign in to comment.