fix rename job
All checks were successful
All checks were successful
This commit is contained in:
parent
e3de20f079
commit
8382000c76
@ -16,13 +16,13 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ gitea.head_ref }}
|
ref: ${{ gitea.head_ref }}
|
||||||
|
|
||||||
- run: echo "REPOSITORY_NAME=$(echo '${{ GITHUB_REPOSITORY }}' | awk -F '/' '{print $2}' | tr '-' '_' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
|
- run: echo "REPOSITORY_NAME=$(echo '${{ vars.GITHUB_REPOSITORY }}' | awk -F '/' '{print $2}' | tr '-' '_' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- run: echo "REPOSITORY_URLNAME=$(echo '${{ GITHUB_REPOSITORY }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
|
- run: echo "REPOSITORY_URLNAME=$(echo '${{ vars.GITHUB_REPOSITORY }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- run: echo "REPOSITORY_OWNER=$(echo '${{ GITHUB_REPOSITORY }}' | awk -F '/' '{print $1}')" >> $GITHUB_ENV
|
- run: echo "REPOSITORY_OWNER=$(echo '${{ vars.GITHUB_REPOSITORY }}' | awk -F '/' '{print $1}')" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Is this still a template
|
- name: Is this still a template
|
||||||
|
Loading…
Reference in New Issue
Block a user