diff --git a/.github/workflows/zip-maplibs.yml b/.github/workflows/zip-maplibs.yml index 3a04e819..116486d5 100644 --- a/.github/workflows/zip-maplibs.yml +++ b/.github/workflows/zip-maplibs.yml @@ -16,15 +16,13 @@ jobs: - name: Install PHP dependencies run: composer install --no-dev + # Zip the mapbox-gl and maplibre-gl directories - name: Zip mapbox-gl library - run: | - cd web/libraries/mapbox-gl - zip -r ../../../../mapbox-gl.zip . -x "*.git*" + run: zip -jr mapbox-gl.zip web/libraries/mapbox-gl -x "*.git*" - name: Zip maplibre-gl library - run: | - cd web/libraries/maplibre-gl - zip -r ../../../../maplibre-gl.zip . -x "*.git*" + run: zip -jr maplibre-gl.zip web/libraries/maplibre-gl -x "*.git*" + - name: Setup Node.js uses: actions/setup-node@v2