Skip to content

Commit

Permalink
clean up submodule when packaging
Browse files Browse the repository at this point in the history
This is not done automatically, and is important for
self-hosted runners which can have left-over material
from previous runs.
  • Loading branch information
paulfitz committed Sep 7, 2023
1 parent 4b1a3ea commit bbf27f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/package.yml
Expand Up @@ -58,6 +58,11 @@ jobs:
with:
submodules: true

- name: Submodule cleanup fix # See https://github.com/actions/checkout/issues/358
run: |
git submodule foreach --recursive git clean -ffdx
git submodule foreach --recursive git reset --hard
- name: check bash
run: yarn run check:bash:ci

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -3,7 +3,7 @@
"name": "grist-electron",
"productName": "grist-electron",
"description": "Grist is the evolution of spreadsheets",
"version": "0.2.5",
"version": "0.2.6",
"main": "core/_build/ext/app/electron/main.js",
"repository": "git@github.com:paulfitz/grist-electron",
"author": "Paul Fitzpatrick <paulfitz@alum.mit.edu>",
Expand Down

0 comments on commit bbf27f4

Please sign in to comment.