Skip to content

Commit 8a9ac5f

Browse files
committed
Use guparan/sofa-setup-action@ci_improve_workflow
1 parent 3209068 commit 8a9ac5f

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,13 @@ jobs:
2525
steps:
2626
- name: Setup SOFA and environment
2727
id: sofa
28-
uses: guparan/sofa-setup-action@add_qt_install
28+
uses: guparan/sofa-setup-action@ci_improve_workflow
2929
with:
3030
sofa_root: ${{ github.workspace }}/sofa
3131
sofa_version: ${{ matrix.sofa_branch }}
3232
sofa_scope: 'standard'
3333
sofa_with_sofapython3: 'false'
3434
python_version: '${{ matrix.python_version }}'
35-
36-
- name: Install pybind11
37-
shell: bash
38-
run: |
39-
${{ steps.sofa.outputs.python_exe }} -m pip install pybind11==2.6.2
40-
pybind11_DIR="pybind11-dir-not-found"
41-
if [ -e "$(command -v pybind11-config-3.8)" ]; then
42-
pybind11_DIR="$(pybind11-config-3.8 --cmakedir)"
43-
elif [ -e "$(command -v pybind11-config)" ]; then
44-
pybind11_DIR="$(pybind11-config --cmakedir)"
45-
fi
46-
echo "pybind11_DIR=$pybind11_DIR" | tee -a $GITHUB_ENV
4735

4836
- name: Checkout source code
4937
uses: actions/checkout@v2
@@ -200,7 +188,7 @@ jobs:
200188
RELEASE_NAME="$RELEASE_NAME-nightly"
201189
RELEASE_TAGNAME="$RELEASE_TAGNAME-nightly"
202190
fi
203-
RELEASE_DATE="$(date +'%Y-%m-%d (at %T)')"
191+
RELEASE_DATE="$(date +'%Y-%m-%d (at %T UTC)')"
204192
echo "RELEASE_NAME=$RELEASE_NAME" | tee -a $GITHUB_ENV
205193
echo "RELEASE_TAGNAME=$RELEASE_TAGNAME" | tee -a $GITHUB_ENV
206194
echo "RELEASE_DATE=$RELEASE_DATE" | tee -a $GITHUB_ENV

0 commit comments

Comments
 (0)