mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-04-29 21:44:26 +02:00
ci: Fix commit hash related issues
This commit is contained in:
parent
5c58f624de
commit
b4e5c66f9c
3
.github/workflows/build_pull_request.yml
vendored
3
.github/workflows/build_pull_request.yml
vendored
@ -85,7 +85,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Prepare comment
|
- name: Prepare comment
|
||||||
id: prepare-comment # Added ID for accessing outputs
|
id: prepare-comment # This should work now?
|
||||||
run: |
|
run: |
|
||||||
COMMIT_HASH=$(git rev-parse --short HEAD)
|
COMMIT_HASH=$(git rev-parse --short HEAD)
|
||||||
if [[ "${{ steps.flutter-build.outcome }}" == "success" ]]; then
|
if [[ "${{ steps.flutter-build.outcome }}" == "success" ]]; then
|
||||||
@ -93,7 +93,6 @@ jobs:
|
|||||||
else
|
else
|
||||||
MESSAGE="🚫 Failed build on $COMMIT_HASH."
|
MESSAGE="🚫 Failed build on $COMMIT_HASH."
|
||||||
fi
|
fi
|
||||||
echo "MESSAGE=$MESSAGE" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: "Comment on pull request #${{ inputs.pr-number }}"
|
- name: "Comment on pull request #${{ inputs.pr-number }}"
|
||||||
uses: thollander/actions-comment-pull-request@v3
|
uses: thollander/actions-comment-pull-request@v3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user