mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-04-29 13:34:25 +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 }}
|
||||
|
||||
- name: Prepare comment
|
||||
id: prepare-comment # Added ID for accessing outputs
|
||||
id: prepare-comment # This should work now?
|
||||
run: |
|
||||
COMMIT_HASH=$(git rev-parse --short HEAD)
|
||||
if [[ "${{ steps.flutter-build.outcome }}" == "success" ]]; then
|
||||
@ -93,7 +93,6 @@ jobs:
|
||||
else
|
||||
MESSAGE="🚫 Failed build on $COMMIT_HASH."
|
||||
fi
|
||||
echo "MESSAGE=$MESSAGE" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: "Comment on pull request #${{ inputs.pr-number }}"
|
||||
uses: thollander/actions-comment-pull-request@v3
|
||||
|
Loading…
x
Reference in New Issue
Block a user