diff --git a/action.yaml b/action.yaml index c0aaa0d8..99d8eb90 100644 --- a/action.yaml +++ b/action.yaml @@ -127,6 +127,7 @@ runs: run: | cat >>$GITHUB_ENV <>$GITHUB_ENV fi - name: Detect setup strategy shell: bash run: | - if [ -e .trunk/setup-ci ]; then + if [[ -e .trunk/setup-ci ]]; then echo "INPUT_SETUP_DEPS=true" >>$GITHUB_ENV else mkdir -p .trunk @@ -336,7 +337,7 @@ runs: shell: bash run: | echo "::group::.trunk/logs/cli.log" - if [ -f .trunk/logs/cli.log ]; then + if [[ -f .trunk/logs/cli.log ]]; then cat .trunk/logs/cli.log else echo ".trunk/logs/cli.log doesn't exist" @@ -344,7 +345,7 @@ runs: echo "::endgroup::" echo "::group::.trunk/logs/daemon.log" - if [ -f .trunk/logs/daemon.log ]; then + if [[ -f .trunk/logs/daemon.log ]]; then cat .trunk/logs/daemon.log else echo ".trunk/logs/daemon.log doesn't exist" @@ -367,7 +368,7 @@ runs: - name: Download annotations artifact if: inputs.post-annotations == 'true' - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: # TODO(chris): We can't use the official download artifact action yet: https://github.com/actions/download-artifact/issues/172 script: |