|
93 | 93 | run: |
|
94 | 94 | set -x
|
95 | 95 | [[ $(./.github/make-workflows.sh -x --worktree) = *"everything is up to date" ]]
|
| 96 | + ## Just to react to valid comment with rocket |
96 | 97 | pr_comment_reaction_rocket:
|
97 | 98 | ## Just to react to valid comment with rocket
|
98 | 99 | runs-on: ubuntu-20.04 #ubuntu-latest
|
@@ -129,7 +130,6 @@ jobs:
|
129 | 130 | runs-on: ubuntu-20.04 #ubuntu-latest
|
130 | 131 | #container: ubuntu:latest
|
131 | 132 | if: ${{ (github.event_name != 'comment') || ( github.event.comment && github.event.issue.pull_request && startsWith(github.event.comment.body, '/build') ) }}
|
132 |
| - # needs: check_workflow_yaml_coressponds_to_src_yaml |
133 | 133 | steps:
|
134 | 134 | - name: Show context
|
135 | 135 | run: |
|
@@ -165,7 +165,7 @@ jobs:
|
165 | 165 | if: ${{ steps.comment_body.outcome == 'skipped' }} ## i.e. not github.event.issue.pull_request
|
166 | 166 | run: |
|
167 | 167 | set -x
|
168 |
| - git fetch origin ${{github.event.after}} --depth=2 ## depth=2 to detect if fetched commit is merge commit |
| 168 | + git fetch origin ${{github.event.pull_request.head.sha}} --depth=2 ## depth=2 to detect if fetched commit is merge commit |
169 | 169 | git log -1 FETCH_HEAD
|
170 | 170 | commit_message_body_build_spec(){
|
171 | 171 | git log -n1 $1 --format=%B | grep '^/build '
|
@@ -458,7 +458,7 @@ jobs:
|
458 | 458 | ## Build iroha in a container made of the image earlier prepared
|
459 | 459 | ## Result artifacts are
|
460 | 460 | ## - stand-alone irohad (linked statically)
|
461 |
| - ## - iroha.deb (with irohad inside) |
| 461 | + ## - iroha.deb (with irohad, migration-tool, wsv_checker inside) |
462 | 462 | build-UD:
|
463 | 463 | needs:
|
464 | 464 | - Docker-iroha-builder
|
@@ -588,7 +588,7 @@ jobs:
|
588 | 588 | uses: actions/cache@v2
|
589 | 589 | with:
|
590 | 590 | path: ${{ env._CCACHE_DIR }}
|
591 |
| - key: ${{runner.os}}-ccache-${{ github.event.after }} |
| 591 | + key: ${{runner.os}}-ccache-${{ github.event.pull_request.head.sha }} |
592 | 592 | restore-keys: ${{runner.os}}-ccache-
|
593 | 593 | - run: ccache --show-stats | tee /tmp/ccache-stats
|
594 | 594 | - #if: ${{false}} ## This works bad when something patched or something updated, seems they does not recalc hash of changed packages. See todos in the begining of file.
|
@@ -895,7 +895,7 @@ jobs:
|
895 | 895 | uses: actions/cache@v2
|
896 | 896 | with:
|
897 | 897 | path: ${{ env._CCACHE_DIR }}
|
898 |
| - key: ${{runner.os}}-ccache-${{ github.event.after }} |
| 898 | + key: ${{runner.os}}-ccache-${{ github.event.pull_request.head.sha }} |
899 | 899 | restore-keys: ${{runner.os}}-ccache-
|
900 | 900 | - run: ccache --show-stats | tee /tmp/ccache-stats
|
901 | 901 | - #if: ${{false}} ## This works bad when something patched or something updated, seems they does not recalc hash of changed packages. See todos in the begining of file.
|
@@ -1203,7 +1203,7 @@ jobs:
|
1203 | 1203 | uses: actions/cache@v2
|
1204 | 1204 | with:
|
1205 | 1205 | path: ${{ env._CCACHE_DIR }}
|
1206 |
| - key: ${{runner.os}}-ccache-${{ github.event.after }} |
| 1206 | + key: ${{runner.os}}-ccache-${{ github.event.pull_request.head.sha }} |
1207 | 1207 | restore-keys: ${{runner.os}}-ccache-
|
1208 | 1208 | - run: ccache --show-stats | tee /tmp/ccache-stats
|
1209 | 1209 | - #if: ${{false}} ## This works bad when something patched or something updated, seems they does not recalc hash of changed packages. See todos in the begining of file.
|
|
0 commit comments