-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,30 +46,6 @@ jobs: | |
with: | ||
type: ${{ env.BUILD_TYPE }} | ||
|
||
- name: Fail if translations files are checked in | ||
run: | | ||
if [ -n "$(find homeassistant/components/*/translations -type f)" ]; then | ||
echo "Translations files are checked in, please remove the following files:" | ||
find homeassistant/components/*/translations -type f | ||
exit 1 | ||
fi | ||
- name: Download Translations | ||
run: python3 -m script.translations download | ||
env: | ||
LOKALISE_TOKEN: ${{ secrets.LOKALISE_TOKEN }} | ||
|
||
- name: Archive translations | ||
shell: bash | ||
run: find ./homeassistant/components/*/translations -name "*.json" | tar zcvf translations.tar.gz -T - | ||
|
||
- name: Upload translations | ||
uses: actions/[email protected] | ||
with: | ||
name: translations | ||
path: translations.tar.gz | ||
if-no-files-found: error | ||
|
||
build_base: | ||
name: Build ${{ matrix.arch }} base core image | ||
if: github.repository_owner == 'home-assistant' | ||
|