We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52aa535 commit 9403428Copy full SHA for 9403428
.github/workflows/update-tutos.yaml
@@ -18,9 +18,12 @@ jobs:
18
with:
19
token: ${{ secrets.GITHUB_TOKEN }}
20
21
- - name: Clone external repo
+ - name: Clone lastest release of devito to update examples
22
run: |
23
- git clone https://github.com/devitocodes/devito
+ REPO="devitocodes/devito"
24
+ TAG=$(curl -s "https://api.github.com/repos/${REPO}/releases/latest" | jq -r .tag_name)
25
+ git clone --branch "$TAG" --depth=1 "https://github.com/${REPO}.git"
26
+
27
28
- name: Update only existing files in local
29
0 commit comments