fix rename job
All checks were successful
CI / linter (ubuntu-latest, 3.9) (push) Successful in 13s
Rename the project from template / rename-project (push) Has been skipped
SonarQube Scan / SonarQube Trigger (push) Successful in 39s
CI / tests_linux (ubuntu-latest, 3.9) (push) Successful in 17s

This commit is contained in:
Simon Diesenreiter 2024-11-11 06:01:57 -08:00
parent e3de20f079
commit 8382000c76

View File

@ -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