mirror of
https://github.com/kiwix/kiwix-apple-custom.git
synced 2025-09-08 22:58:49 -04:00
Use working-directory
This commit is contained in:
parent
e7bfee1656
commit
c895e61e52
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -44,11 +44,8 @@ jobs:
|
|||||||
run: echo "tag=testapp_2023.12.1" >> $GITHUB_OUTPUT
|
run: echo "tag=testapp_2023.12.1" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Validate and parse the tag
|
- name: Validate and parse the tag
|
||||||
run:
|
working-directory: custom
|
||||||
|
|
run: python src/tag_validator.py ${{ steps.vars.outputs.tag }}
|
||||||
cd custom
|
|
||||||
python src/tag_validator.py ${{ steps.vars.outputs.tag }}
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Check-out kiwix/apple
|
- name: Check-out kiwix/apple
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -57,11 +54,10 @@ jobs:
|
|||||||
path: apple
|
path: apple
|
||||||
|
|
||||||
- name: Install Kiwix dependencies
|
- name: Install Kiwix dependencies
|
||||||
|
working-directory: apple
|
||||||
run: | # remove pre-commit, it's not needed for CI
|
run: | # remove pre-commit, it's not needed for CI
|
||||||
cd apple
|
|
||||||
cat Brewfile | grep -v -e pre-commit > Brewfile_CI
|
cat Brewfile | grep -v -e pre-commit > Brewfile_CI
|
||||||
brew bundle --force --file Brewfile_CI
|
brew bundle --force --file Brewfile_CI
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Generate project based on tag
|
- name: Generate project based on tag
|
||||||
env:
|
env:
|
||||||
@ -84,7 +80,6 @@ jobs:
|
|||||||
|
|
||||||
# run xcodegen on our custom project
|
# run xcodegen on our custom project
|
||||||
xcodegen -s custom_project.yml
|
xcodegen -s custom_project.yml
|
||||||
|
|
||||||
ls -la
|
ls -la
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user