Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions shared-overwrite/.github/workflows/mt-sync-code-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
code-sync: ${{ github.ref == format('refs/heads/{0}', env.MT_DEFAULT_BRANCH_NAME) }}

- name: MT commit image change (if added/updated)
if: ${{ env.MT_IS_AGENCY_BIKE != 'true' && env.MT_IS_MAIN_REPO != 'true' }}
if: ${{ env.MT_IS_MAIN_REPO != 'true' }}
Comment thread
mmathieum marked this conversation as resolved.
run: |
git add -v -A -- ':(glob)**/*.png'
if git diff --staged --quiet; then
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
- name: MT check if image generation required
id: mt-check-image-gen-required
continue-on-error: true
if: ${{ env.MT_IS_AGENCY_BIKE != 'true' && env.MT_IS_MAIN_REPO != 'true' }}
if: ${{ env.MT_IS_MAIN_REPO != 'true' }}
run: |
RESULT=$(git status --porcelain -- "app-android/src/main/res/values/gtfs_rts_values_gen.xml" | wc -l)
if [ "$RESULT" -gt 0 ]; then
Expand Down Expand Up @@ -205,14 +205,14 @@ jobs:
# ----------

- name: MT generate images if required
if: ${{ env.MT_IS_AGENCY_BIKE != 'true' && env.MT_IS_MAIN_REPO != 'true' && steps.mt-check-image-gen-required.outcome == 'success' }}
if: ${{ env.MT_IS_MAIN_REPO != 'true' && steps.mt-check-image-gen-required.outcome == 'success' }}
Comment thread
mmathieum marked this conversation as resolved.
run: |
./commons/code_setup.sh;
env:
MT_GENERATE_IMAGES: true

- name: MT commit image change (if added/updated)
if: ${{ env.MT_IS_AGENCY_BIKE != 'true' && env.MT_IS_MAIN_REPO != 'true' }}
if: ${{ env.MT_IS_MAIN_REPO != 'true' }}
Comment thread
mmathieum marked this conversation as resolved.
run: |
git add -v -A -- ':(glob)**/*.png'
if git diff --staged --quiet; then
Expand Down