From 24c3f00474c747702a2aad8b2de21a4ac8e3ac85 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 8 Nov 2023 14:19:05 +0900 Subject: [PATCH] ci: actionlint validation --- .github/workflows/env_with_script.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/env_with_script.yaml b/.github/workflows/env_with_script.yaml index df5c12d2..5a96bd86 100644 --- a/.github/workflows/env_with_script.yaml +++ b/.github/workflows/env_with_script.yaml @@ -30,7 +30,7 @@ jobs: - name: Add PATH run: echo "$HOME/foo/bar" >> "$GITHUB_PATH" - name: Show PATH - run: echo $PATH + run: echo "$PATH" windows: runs-on: windows-latest @@ -39,20 +39,20 @@ jobs: - name: Add ENV and OUTPUT id: tag run: | - echo "GIT_TAG=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> $env:GITHUB_ENV - echo "git-tag=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> $env:GITHUB_OUTPUT + echo "GIT_TAG=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_ENV}" + echo "git-tag=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_OUTPUT}" - name: Show ENV and OUTPUT run: | - echo ${{ env.GIT_TAG }} - echo ${{ steps.tag.outputs.git-tag }} + echo "${{ env.GIT_TAG }}" + echo "${{ steps.tag.outputs.git-tag }}" - name: Add ENV and OUTPUT by Script id: tag-script - run: ./.github/scripts/setenv.ps1 -Ref $env:GITHUB_REF + run: ./.github/scripts/setenv.ps1 -Ref "${env:GITHUB_REF}" - name: Show ENV and OUTPUT run: | - echo ${{ env.GIT_TAG_SCRIPT }} - echo ${{ steps.tag-script.outputs.git-tag }} + echo "${{ env.GIT_TAG_SCRIPT }}" + echo "${{ steps.tag-script.outputs.git-tag }}" - name: Add PATH - run: echo "$HOME/foo/bar" >> $env:GITHUB_PATH + run: echo "$HOME/foo/bar" >> "${env:GITHUB_PATH}" - name: Show PATH - run: echo $env:PATH + run: echo "${env:PATH}"