mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Put DEFAULT_BRANCH into an env variable.
This commit is contained in:
parent
8bbe39c9ca
commit
67360ba8e9
1 changed files with 5 additions and 2 deletions
7
.github/workflows/GnuTests.yml
vendored
7
.github/workflows/GnuTests.yml
vendored
|
@ -23,6 +23,9 @@ concurrency:
|
|||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
|
||||
|
||||
env:
|
||||
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
|
||||
|
||||
jobs:
|
||||
gnu:
|
||||
permissions:
|
||||
|
@ -45,9 +48,9 @@ jobs:
|
|||
path_reference="reference"
|
||||
outputs path_GNU path_GNU_tests path_reference path_UUTILS
|
||||
#
|
||||
repo_default_branch="${{ github.event.repository.default_branch }}"
|
||||
repo_default_branch="$DEFAULT_BRANCH"
|
||||
repo_GNU_ref="v9.5"
|
||||
repo_reference_branch="${{ github.event.repository.default_branch }}"
|
||||
repo_reference_branch="$DEFAULT_BRANCH"
|
||||
outputs repo_default_branch repo_GNU_ref repo_reference_branch
|
||||
#
|
||||
SUITE_LOG_FILE="${path_GNU_tests}/test-suite.log"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue