10000 [CI] Migrate from set-output to using environment files. by dtzSiFive · Pull Request #5267 · llvm/circt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[CI] Migrate from set-output to using environment files. #5267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/buildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,11 @@ jobs:
# Extract the LLVM submodule hash for use in the cache key.
- name: Get LLVM Hash
id: get-llvm-hash
run: echo "::set-output name=hash::$(git rev-parse @:./llvm)"
run: echo "hash=$(git rev-parse @:./llvm)" >> $GITHUB_OUTPUT

- name: Get workflow spec hash
id: get-workflow-hash
run: echo "::set-output name=hash::$(md5sum $GITHUB_WORKSPACE/.github/workflows/buildAndTest.yml | awk '{print $1}')"
run: echo "hash=$(md5sum $GITHUB_WORKSPACE/.github/workflows/buildAndTest.yml | awk '{print $1}')" >> $GITHUB_OUTPUT

# Try to fetch LLVM from the cache.
- name: Cache LLVM
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/buildAndTestWindows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# Extract the LLVM submodule hash for use in the cache key.
- name: Get LLVM Hash
id: get-llvm-hash
run: echo "::set-output name=hash::$(git rev-parse @:./llvm)"
run: echo "hash=$(git rev-parse @:./llvm)" >> $GITHUB_OUTPUT
shell: bash

# Try to fetch LLVM from the cache.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/trackLLVMChanges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
id: build-current-llvm-commit
run: |
cd llvm
echo "::set-output name=sha::$(git rev-parse HEAD)"
echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
cmake --build ../build --config Debug --target check-circt --target check-circt-unit -- -j$(nproc)

- name: Build latest LLVM commit
Expand All @@ -59,7 +59,7 @@ jobs:
cd llvm
git fetch origin main
git checkout --detach origin/main
echo "::set-output name=sha::$(git rev-parse HEAD)"
echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
cmake --build ../build --config Debug --target check-circt --target check-circt-unit -- -j$(nproc)

- name: Bisect commits
Expand Down
0