forked from EVOgeek/Vmeda.Online
		
	Merge pull request #3589 from crazyserver/MOBILE-4286
MOBILE-4286 github: Fixes on language scripts
This commit is contained in:
		
						commit
						e8eb36f56e
					
				
							
								
								
									
										2
									
								
								.github/workflows/merge.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/merge.yml
									
									
									
									
										vendored
									
									
								
							@ -1,4 +1,4 @@
 | 
			
		||||
name: Prepare
 | 
			
		||||
name: Merge
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							@ -1,10 +1,10 @@
 | 
			
		||||
name: Prepare
 | 
			
		||||
name: Release
 | 
			
		||||
 | 
			
		||||
on: workflow_dispatch
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  release:
 | 
			
		||||
    if: github.repository == 'moodlehq/moodleapp'
 | 
			
		||||
    if: github.repository == 'moodlemobile/moodleapp'
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
 | 
			
		||||
@ -91,7 +91,7 @@ function get_language_folders {
 | 
			
		||||
        fi
 | 
			
		||||
    done
 | 
			
		||||
 | 
			
		||||
    if [ -z "${LANGVERSION}" ]; then
 | 
			
		||||
    if [ -z "${langs}" ]; then
 | 
			
		||||
        # Get language list from the installed ones (will not discover new translations).
 | 
			
		||||
        echo "Fallback language list will only get current installation languages"
 | 
			
		||||
        langs=`jq -r '.languages | keys[]' ../moodle.config.json`
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user