summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml12
-rw-r--r--.github/workflows/translations.yml3
2 files changed, 1 insertions, 14 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 57f3a2c6..21b9fe12 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -30,18 +30,6 @@ jobs:
restore-keys: |
${{ runner.os }}-20.04-pip-
- - name: Get yarn cache directory path
- id: yarn-cache-dir-path
- run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
-
- - uses: actions/cache@v4
- id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
- with:
- path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
- key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-yarn-
-
- name: install dependencies
shell: bash
run: |
diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml
index fbb7b409..e7f27f9b 100644
--- a/.github/workflows/translations.yml
+++ b/.github/workflows/translations.yml
@@ -57,8 +57,7 @@ jobs:
# files when a new translation string is added but we don't need to
# commit those until folks actually translate the new strings.
if git diff translations | grep -qE '^[-+]msgstr ".+"$'; then
- make electron/src/renderer/assets/translations.json
- git add translations electron/src/renderer/assets/translations.json
+ git add translations
git commit -m "new translations from Crowdin"
git push https://github.com/inkstitch/inkstitch main
fi