Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
5255d0af
Commit
5255d0af
authored
Mar 27, 2024
by
Michael Yang
Browse files
fix: workflows
parent
461ad250
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
.github/workflows/test.yaml
.github/workflows/test.yaml
+4
-1
No files found.
.github/workflows/test.yaml
View file @
5255d0af
...
@@ -15,10 +15,13 @@ jobs:
...
@@ -15,10 +15,13 @@ jobs:
GENERATE_CUDA
:
${{ steps.changes.outputs.GENERATE_CUDA }}
GENERATE_CUDA
:
${{ steps.changes.outputs.GENERATE_CUDA }}
GENERATE_ROCM
:
${{ steps.changes.outputs.GENERATE_ROCM }}
GENERATE_ROCM
:
${{ steps.changes.outputs.GENERATE_ROCM }}
steps
:
steps
:
-
uses
:
actions/checkout@v4
with
:
fetch-depth
:
0
-
id
:
changes
-
id
:
changes
run
:
|
run
:
|
changed() {
changed() {
git diff-tree -r --no-commit-id --name-only $
GITHUB_BASE_REF $GITHUB_HEAD_REF
\
git diff-tree -r --no-commit-id --name-only $
{{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}
\
| xargs python3 -c "import sys; print(any([x.startswith('$1') for x in sys.argv[1:]]))"
| xargs python3 -c "import sys; print(any([x.startswith('$1') for x in sys.argv[1:]]))"
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment