mirror of
https://github.com/RetroDECK/MAME.git
synced 2024-11-29 07:25:37 +00:00
WORKFLOW: better branch name x2
This commit is contained in:
parent
4abb31c5dc
commit
facd7680ab
6
.github/workflows/build_mame.yml
vendored
6
.github/workflows/build_mame.yml
vendored
|
@ -57,19 +57,17 @@ jobs:
|
||||||
- name: Get branch name
|
- name: Get branch name
|
||||||
id: 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
|
|
||||||
|
|
||||||
- name: Get date
|
- name: Get date
|
||||||
id: date
|
id: date
|
||||||
run: echo "DATE=$(date +'%d%m%y')" >> $GITHUB_ENV
|
run: echo "DATE=$(date +'%d%m%y.%H%M%S')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Publish the artifacts in a release
|
- name: Publish the artifacts in a release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
tag: "${{env.BRANCH_NAME}}-${{env.DATE}}"
|
tag: "${{env.BRANCH_NAME}}-${{env.DATE}}"
|
||||||
body: |
|
body: |
|
||||||
# Release Notes (Cooker)
|
# Release Notes
|
||||||
These are the artifact of RetroDECK MAME, commit: ${{ github.event.repository.full_name }}@${{github.sha}}.
|
These are the artifact of RetroDECK MAME, commit: ${{ github.event.repository.full_name }}@${{github.sha}}.
|
||||||
On branch [${{env.BRANCH_NAME}}](https://github.com/XargonWan/RetroDECK-MAME/tree/${{env.BRANCH_NAME}}).
|
On branch [${{env.BRANCH_NAME}}](https://github.com/XargonWan/RetroDECK-MAME/tree/${{env.BRANCH_NAME}}).
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue