Skip to content

Commit

Permalink
TMP force branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-ballarin committed Oct 30, 2023
1 parent 8b0aa89 commit b15d2c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/workflow_call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b15d2c9

Please sign in to comment.