generated from tophat/new-project-kit
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: fix benchmark reporting on master (#513)
* ci: fix benchmark reporting on master * ci(debug): print github event json * Revert "ci(debug): print github event json" This reverts commit db22e95. * ci: setup env COMMIT_SHA when detecting python version * ci(debug): print env * ci(debug): print env * ci(debug): revert superfluous changes
- Loading branch information
Showing
4 changed files
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: detect-env | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Determine Python Version | ||
run: echo PYTHON_VERSION=$(cat .python-version | tr -d '\n') >> $GITHUB_ENV | ||
shell: bash | ||
- name: Determine Commit Sha | ||
# Github pull request event has the merge commit as the HEAD on checkout | ||
# https://github.com/actions/checkout/issues/261 | ||
run: echo COMMIT_SHA=$(jq -r ".pull_request.head.sha // .check_run.head_sha // .after" $GITHUB_EVENT_PATH) >> $GITHUB_ENV | ||
shell: bash |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters