mirror of
https://github.com/RetroDECK/MAME.git
synced 2024-11-22 04:35:38 +00:00
WORKFLOW: better branch name
This commit is contained in:
parent
21c4d1577c
commit
4abb31c5dc
10
.github/workflows/build_mame.yml
vendored
10
.github/workflows/build_mame.yml
vendored
|
@ -51,20 +51,14 @@ jobs:
|
|||
# continue-on-error: true
|
||||
# timeout-minutes: 1440
|
||||
|
||||
- name: '[TEST] Create Artifact for RetroDECK'
|
||||
run: |
|
||||
touch ${GITHUB_WORKSPACE}/RetroDECK-MAME-Artifact.tar.gz
|
||||
continue-on-error: true
|
||||
timeout-minutes: 1440
|
||||
|
||||
- name: Set environment variable with current branch name
|
||||
run: echo "GITHUB_REF_SLUG=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV
|
||||
|
||||
- name: Get branch name
|
||||
id: branch_name
|
||||
#run: echo "BRANCH_NAME=$(echo $GITHUB_REF | sed 's|refs/heads/||')" >> $GITHUB_ENV
|
||||
run: echo "BRANCH_NAME=$(echo $GITHUB_REF | sed 's|refs/heads/||')" >> $GITHUB_ENV
|
||||
# TODO: I need to enhance this
|
||||
run: echo "BRANCH_NAME=main" >> $GITHUB_ENV
|
||||
#run: echo "BRANCH_NAME=main" >> $GITHUB_ENV
|
||||
|
||||
- name: Get date
|
||||
id: date
|
||||
|
|
Loading…
Reference in a new issue