mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-29 00:55:42 +00:00
Testing feat pipeline
This commit is contained in:
parent
bc4bf570c5
commit
d21a1b66a2
16
.github/workflows/cooker-selfhosted.yml
vendored
16
.github/workflows/cooker-selfhosted.yml
vendored
|
@ -102,18 +102,18 @@ jobs:
|
||||||
id: commits
|
id: commits
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
# what was this?
|
- name: Get branch name
|
||||||
# - name: "Get tag name (cooker only)"
|
id: branch_name
|
||||||
# uses: ncipollo/release-action@v1
|
run: echo "BRANCH_NAME=$(echo $GITHUB_REF | sed 's|refs/heads/||')" >> $GITHUB_ENV
|
||||||
# id: tag
|
|
||||||
|
|
||||||
- name: "Set tag name (cooker only)"
|
- name: "Set TAG_NAME based on branch name (cooker only)"
|
||||||
run: |
|
run: |
|
||||||
if $ { { startsWith(steps.tag.outputs.tag, 'feat/') }}; then
|
if [[ $BRANCH_NAME == 'feat/'* ]]; then
|
||||||
echo "TAG_NAME=feature:$ { { replace(steps.tag.outputs.tag, 'feat/', '') }}" >> $GITHUB_ENV
|
echo "TAG_NAME=feature:${BRANCH_NAME/feat\//}" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo "TAG_NAME=$ { { steps.tag.outputs.tag }}" >> $GITHUB_ENV
|
echo "TAG_NAME=${BRANCH_NAME}" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
|
shell: /usr/bin/bash -e {0}
|
||||||
|
|
||||||
- name: "Set makeLatest (cooker only)"
|
- name: "Set makeLatest (cooker only)"
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue