Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ jobs:
ANSYS_VERSION: ${{ matrix.version.version }}
standalone_suffix: ${{ matrix.version.patch }}
test_docstrings: ${{ matrix.test_docstrings }}
post_branch: latest
secrets: inherit

docker_tests:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pydpf-post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_call:
inputs:
post_branch:
default: ''
default: 'main'
type: string
ANSYS_VERSION:
required: false
Expand All @@ -24,8 +24,8 @@ on:
workflow_dispatch:
inputs:
post_branch:
description: 'PyDPF-Post branch or tag to test. Leave empty to get latest tagged version'
default: ''
description: 'PyDPF-Post branch or tag to test. Set to `latest` to get latest tagged version'
default: 'main'
type: string
ANSYS_VERSION:
description: "ANSYS version"
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
REPO="https://github.com/ansys/pydpf-post.git"
BranchName=${{ inputs.post_branch }}
echo branch="$BranchName"
if [ "$BranchName" = '' ];
if [ "$BranchName" = 'latest' ];
then
BranchName=$(git ls-remote --tags --sort="v:refname" --refs $REPO | tail -n1 | cut -d/ -f3)
fi
Expand Down
Loading