mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-02-18 04:15:40 +00:00
fixed duplicate
This commit is contained in:
parent
02fbffd761
commit
699f5b9f38
8
.github/workflows/cooker-selfhosted.yml
vendored
8
.github/workflows/cooker-selfhosted.yml
vendored
|
@ -70,14 +70,6 @@ jobs:
|
||||||
branch_name=$(echo $GITHUB_REF | sed 's|refs/heads/||')
|
branch_name=$(echo $GITHUB_REF | sed 's|refs/heads/||')
|
||||||
echo "BRANCH_NAME=$branch_name" >> $GITHUB_ENV
|
echo "BRANCH_NAME=$branch_name" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
run: |
|
|
||||||
if [[ "$GITHUB_EVENT_NAME" == "pull_request" || "$GITHUB_EVENT_NAME" == "pull_request_target" ]]; then
|
|
||||||
source_branch="${{ github.head_ref }}"
|
|
||||||
echo "BRANCH_NAME=$source_branch" >> $GITHUB_ENV
|
|
||||||
else
|
|
||||||
branch_name=$(echo $GITHUB_REF | sed 's|refs/heads/||')
|
|
||||||
echo "BRANCH_NAME=$branch_name" >> $GITHUB_ENV
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if the branch is coming from a PR the tag should be manually built
|
# if the branch is coming from a PR the tag should be manually built
|
||||||
- name: "Generate version tag and evaluating latest tag"
|
- name: "Generate version tag and evaluating latest tag"
|
||||||
|
|
Loading…
Reference in a new issue