-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- remove unused .github/workflows.inactive/normalizestrings.yml
- ocstringstool: update to normalize xcstrings - ownCloudSDK.xcodeproj: remove normalization step - pull-transifex.yml: integrate updated ocstringstool
- Loading branch information
1 parent
44cd4b3
commit 54017be
Showing
4 changed files
with
51 additions
and
55 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -31,6 +31,38 @@ jobs: | |
beautifyJSON "ownCloudSDK/Resources/Localizable.xcstrings" | ||
beautifyJSON "ownCloudUI/Resources/Localizable.xcstrings" | ||
- name: Install dependencies | ||
run: sudo apt-get update && sudo apt-get install -y clang libpython2.7 libpython2.7-dev | ||
|
||
- name: Download Swift | ||
run: wget https://download.swift.org/swift-6.0.2-release/ubuntu2004/swift-6.0.2-RELEASE/swift-6.0.2-RELEASE-ubuntu20.04.tar.gz | ||
|
||
- name: Extract Swift | ||
run: tar xzf swift-6.0.2-RELEASE-ubuntu20.04.tar.gz | ||
|
||
- name: Move Swift to /usr/share | ||
run: sudo mv swift-6.0.2-RELEASE-ubuntu20.04 /usr/share/swift | ||
|
||
- name: Add Swift to PATH | ||
run: echo "export PATH=/usr/share/swift/usr/bin:\$PATH" >> $GITHUB_ENV | ||
|
||
- name: Verify Swift installation | ||
run: swift -v | ||
|
||
- name: Show Swift file | ||
run: cat tools/ocstringstool/ocstringstool/main.swift | ||
|
||
- name: Compile Swift file | ||
run: swiftc tools/ocstringstool/ocstringstool/main.swift -o ocstringstool | ||
|
||
- name: Run compiled Swift program | ||
run: ./ocstringstool normalize "ownCloudSDK/Resources" "ownCloudUI/Resources" | ||
|
||
- name: Cleanup download and ocstringstool | ||
run: | | ||
rm swift-*-ubuntu20.04.tar.gz | ||
rm ocstringstool | ||
- uses: GuillaumeFalourd/[email protected] | ||
with: | ||
email: [email protected] | ||
|
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
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