]> git.openstreetmap.org Git - nominatim.git/blobdiff - .github/actions/build-nominatim/action.yml
actions: remove install directories before import
[nominatim.git] / .github / actions / build-nominatim / action.yml
index f65bd3ea51bab6dc0d2eeeb8f40b0b539eb99841..d62ecf86d1d79c9e9efa77dbc527d814127887a5 100644 (file)
@@ -11,13 +11,14 @@ runs:
 
         - name: Download dependencies
           run: |
-              if [ ! -f data/country_osm_grid.sql.gz ]; then
-                  wget --no-verbose -O data/country_osm_grid.sql.gz https://www.nominatim.org/data/country_grid.sql.gz
+              if [ ! -f country_grid.sql.gz ]; then
+                  wget --no-verbose https://www.nominatim.org/data/country_grid.sql.gz
               fi
+              cp country_grid.sql.gz Nominatim/data/country_osm_grid.sql.gz
           shell: bash
 
         - name: Configure
-          run: mkdir build && cd build && cmake ..
+          run: mkdir build && cd build && cmake ../Nominatim
           shell: bash
 
         - name: Build