We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f17869c commit 842719eCopy full SHA for 842719e
.github/workflows/publish.yml
@@ -11,10 +11,13 @@ jobs:
11
with:
12
fetch-depth: 2
13
14
+ - name: Fetch master branch
15
+ run: git fetch origin master
16
+
17
- name: Check if topographic-v2.json changed
18
id: check_diff
19
run: |
- if git diff --name-only origin/master origin/${{ github.head_ref }} | grep -F "config/tileset/topographic-v2.json"; then
20
+ if git diff --name-only origin/master HEAD | grep -F "config/tileset/topographic-v2.json"; then
21
echo "File changed"
22
echo "changed=true" >> $GITHUB_OUTPUT
23
else
0 commit comments