diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 766b651..cde65de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,7 @@ jobs: test_workflow_artifact: needs: [test_library] - uses: fem-on-colab/open-in-colab-workflow/.github/workflows/workflow_call.yml@main + uses: fem-on-colab/open-in-colab-workflow/.github/workflows/workflow_call.yml@pyproject-cmake with: work_directory: open_in_colab notebook_pattern: "**/*.ipynb" @@ -81,7 +81,7 @@ jobs: test_workflow_drive: needs: [test_library] - uses: fem-on-colab/open-in-colab-workflow/.github/workflows/workflow_call.yml@main + uses: fem-on-colab/open-in-colab-workflow/.github/workflows/workflow_call.yml@pyproject-cmake with: work_directory: open_in_colab notebook_pattern: "**/*.ipynb" @@ -110,7 +110,7 @@ jobs: test_workflow_github: needs: [test_library] - uses: fem-on-colab/open-in-colab-workflow/.github/workflows/workflow_call.yml@main + uses: fem-on-colab/open-in-colab-workflow/.github/workflows/workflow_call.yml@pyproject-cmake with: work_directory: open_in_colab notebook_pattern: "**/*.ipynb" diff --git a/.github/workflows/workflow_call.yml b/.github/workflows/workflow_call.yml index b0a50ef..7c8e74b 100644 --- a/.github/workflows/workflow_call.yml +++ b/.github/workflows/workflow_call.yml @@ -67,12 +67,7 @@ jobs: - name: Determine which branch to use while cloning the workflow call library id: workflow_call_library_branch run: | - if [[ "${{ github.repository }}" == "fem-on-colab/open-in-colab-workflow" ]]; then - BRANCH=${GITHUB_REF##*/} - else - BRANCH="main" - fi - echo "branch=${BRANCH}" >> ${GITHUB_OUTPUT} + echo "branch=pyproject-cmake" >> ${GITHUB_OUTPUT} - name: Clone workflow call library uses: actions/checkout@v3 with: