diff --git a/.github/workflows/sync-on-llvm-version.yml b/.github/workflows/sync-on-llvm-version.yml index b4532fd6..6c9fa90d 100644 --- a/.github/workflows/sync-on-llvm-version.yml +++ b/.github/workflows/sync-on-llvm-version.yml @@ -62,10 +62,11 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | if [[ "${{github.event_name}}" == "workflow_dispatch" ]]; then - echo "commit_hash=${{inputs.commit_hash}}" >> $GITHUB_ENV + commit_hash=${{inputs.commit_hash}} else - echo "commit_hash=${{ steps.good-commit.outputs.good-commit }}" >> $GITHUB_ENV + commit_hash=${{ steps.good-commit.outputs.good-commit }} fi + echo "commit_hash=${commit_hash}" >> $GITHUB_ENV yyyymmdd=$(date +%Y%m%d) versionfile=LLVMVersion.cmake